Is it possible to access oid from user profile during actions post login?
I cannot find it in the documentation: Actions Triggers: post-login - Event Object
but it is available from Identity Provider Attributes section in user attributes.
It is related to
Post Login Action Enterprise Database Group ID Access - #6 by rueben.tiow where the problem is lack of access to the AD groups in actions
Thanks for reaching out to the Auth0 Community!
I understand that you are trying to access top lever attributes in a Post-Login Action.
Unfortunately, this is not possible as explained in the FAQ below:
Are Top-level IdP user attributes available in Actions?
Unfortunately, Actions do not currently have access to the Top-level event.user attributes added by an external IdP. Our Engineering teams are actively working on improving Actions, but there is not an exact timeline on when this will be supported.
We suggest using Auth0 Rules to access Top level user attributes added by an external IdP until feature parity is achieved in Actions.
In this situation, we recommend using Auth0 Rules to access these attributes.
I hope this helps!
Please reach out if you have any additional questions.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.