How to add Organization's member role to the token?

Is there any way to add organisation member role to the token?

Hi @anupam.gupta ,

I noticed that you created a support ticket for the same issue. Once the solution is available, I will post it on this topic. Hopefully, it can be helpful to other folks in our community.

2 Likes

Yes, Go to the Navigate to Auth0 Dashboard > Organizations, and select the organization for which you want to configure membership. Select the Members view, and select the name of the member to which you would like to add a role. Select Assign role. Enter the role name(s) you would like to assign to the member, and select Add role(s) to organization.

Thanks @Irenehicks !

My question is specifically for enriching access token with member role information. How to do that in actions in post login flow?

1 Like