Pass Active Drectory group to JWT as custom claim

I’m trying to pass Active Directory group name to JWT claim. I’ve setup ADFS connection and I see that group name is coming to Auth0
This is how it looks like
groupsid is the group name on the screenshot
How can I access this claim in Actions:

 api.accessToken.setCustomClaim("MyClaim", event.user.??????);

Hey there @v.samodelkin welcome to the community!

Unfortunately, root level user attributes are currently not available through Actions:

This is something we are currently working on and expect to be included in a release in the near future - Stay tuned!

I managed to send a custom claim using Nickname property. But this is clear misuse.

1 Like

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