I’m using the Auth0 Authorization Extension to implement the concept of “teams” in our app. Currently I’m able to include user groups in the
id_token by enabling Groups in the Token Contents section of the authorization extension. The problem is group names are mutable and I would like to include the group id, which is immutable.
To do this I tried making a rule that accessed
user.groups, but that was just a list of names. Does anyone have advice on how to get access to the group ids in a rule? Thanks!