New to the Auth) world but not the realm of SSO. Using the free tier to develop a POC on Drupal 8.
Have created a Rule so that some additional user information can be passed with the identityToken. Specifically, the user’s groups, roles, and permissions are what I am looking to pass back from the Auth0 SaaS server. The user info for the first request matches. If I later go back and add/remove user attributes on manage.auth0.com, the subsequent requests remain the same and do not reflect the updates. It appears that there is some caching occurring inside Auth0 as console.log messages show the source of the information is stale.
In manage.auth0.com, the test user is assigned one additional role that I believe should but does not appear in the logs. In the “not understood yet” category, the user roles are appearing as a group rather than a role.
Are you managing and changing the user roles/groups/permissions in the authorization extension? And are you making sure to configure rules/groups/permissions toggled on and publish after the changes? Also are you choosing to persist the data in the users app_metadata (this is not required, just a choice)?
Thank you for your prompt and useful response. The disconnect was that there are two similar areas: users/roles for the main dashboard and users/groups/roles/permissions for the extension. Being new to the Auth0 way, I being confused when seeing the differences but not really registering at the time.