Closed woeterman94 closed 4 years ago
Why are the roles in the id token?
auth0.users.updateAppMetadata(user.user_id, user.app_metadata) .then(function() { context.idToken['https://schemas.quickstarts.com/roles'] = user.app_metadata.roles; callback(null, user, context); })
I thought we were supposed to send an access_token to the api?
Why are the roles in the id token?
auth0.users.updateAppMetadata(user.user_id, user.app_metadata) .then(function() { context.idToken['https://schemas.quickstarts.com/roles'] = user.app_metadata.roles; callback(null, user, context); })
I thought we were supposed to send an access_token to the api?