Im trying to replicate what an existing rule does, but in an action.
I have a rule that adds a users Identity Provider Attribute called roles to the idToken.
I can see the example docs allows you to add roles from event.authorization.roles, but I am trying to add from the user attributes. The following adds the claim, but the value is null.
I can see the user profile doesnt have roles as a property hence the error. Is there a correct way to do this or are the attributes elsewhere.
Thanks
Thanks, I think event.authorization.roles are roles specific to auth0 applications?
Im using a Azure AD enterprise connection which in turn adds the Azure AD application assigned roles to the users identity provider attributes.
It is this specific attribute called “roles” im looking to add as a claim. Hope that makes sense
I have received another update from the Engineering team. An issue has been created for this to allow additional root profile fields from the identity provider (eg Azure AD) to be available in Actions. Unfortunately, I don’t have an estimated date on when this will be available, but I will update when available.