I’m currently trying to automatically assign roles to a user on login. The users belong to a Google Workspace and are members of groups. I want to add the user as a member of Roles with the same name in Auth0.
I logged the user object in a Rule and could see all the groups of the user on the user object. The management API also returns the groups in the user object.
However, in an Action, the user object does not contain the groups. Is that on purpose? Do I have to refetch the user from the management API in the Action to get the groups?