I’m trying to convert this rule
function (user, context, callback) {
user.email = user.email || user.upn;
callback(null, user, context);
}
But I can’t figure out how to get the upn in an action, can someone help?
I’m trying to convert this rule
function (user, context, callback) {
user.email = user.email || 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.
Thanks,
Rueben
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
Hi @adam.bowler
Welcome to the Auth0 Community!
We’ve updated our Knowledge Solutions with chapter about Adding Claims with Action with a similar fashion to how Rules worked. You can find it here → Azure AD Integration not Providing the User Email
Thanks
Dawid