Convert rules to action help

I’m trying to convert this rule

function (user, context, callback) { = || user.upn;
  callback(null, user, context);

But I can’t figure out how to get the upn in an action, can someone help?

Hi @adam.bowler,

Thanks for reaching out to the Auth0 Community!

Unfortunately, the user.upn value cannot be called since Top-level IdP user attributes are not available in Actions yet.

This is mentioned in our Actions Limitations documentation.

For now, we recommend that you continue using your Rule until we reach feature parity with Actions which is coming soon!

Please let us know if you have any additional questions.


1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.