Hi @barry.schwarz,
Welcome to the Auth0 Community!
It looks like you’re encountering an error outlined here. Essentially, when you use the Management API from an Action to modify the current user, it updates the user’s profile but not the event object. This means any changes to the profile won’t be visible until the user logs in again.
One workaround for this scenario is to get the permissions at the same time you assign the user to the role. To do this, use the managementClient.users.getPermissions()
method.
(Reference UsersManager | auth0)
Please let me know if you have any questions.
Thanks,
Rueben