I have some users from an Active Directory connection that are in different groups based on which custom roles I want them in in Wordpress. I have created the custom roles, with varying permissions.
A little like this:
I would like all members of group_users to have the role User, then admin, tech and sales to their respective roles (admin, tech, sales) based on the AD group.
Then, there are a few users in each group who are Managers. Those Managers should also get the Manager role in Wordpress.
My question is, which Auth0 Wordpress hook should I hook in to to change the role on first login?