We’d like to assign roles and permissions to users connecting via social login (Google) based on their email address.
The reason is that we’re switching users from our existing internal auth system (based on Google OAuth) to Auth0, and we’d like to preserve their roles at their first login.
Our current idea is to create “placeholder” passwordless users with the correct roles and to link them to the OAuth google accounts on the first signin. Is this doable (and advisable) with a custom rule?
Thanks a lot