I am using auth0’s ManagementClient to query various things about the user. Can I use it to query and update group information? Groups are in the Authorization extension.
More specifically, what would be the easiest way to update groups for a new user? The way I think it can be done is very awkward:
- Get all groups (to get the group IDs).
- Match these with the groups the logged in user is in.
- Assign the new user to the groups.
Thanks in advance for any advice.