After applying a Role to a User using a Rule at signup (first login), the permissions are not in the user's access token

Many thanks @pvarner.

This worked for me.

For anyone’s reference I used this code to refresh the token, which included the updated roles/permissions:

renewToken() {
this.auth0Client$.subscribe((client: Auth0Client) => {
client.getTokenSilently({ audience: config.audience, scope: config.domain, ignoreCache: true });
});
}

1 Like