My application uses React in the frontend. In the Auth0 side, I have a custom social connection named custom-oauth2 and 3 organizations: A, B, and C.
The desired objective is that upon the first login, based on the email domain, the user is provisioned into the corresponding organization. For example,
user@a.com => Organization A
jane@bcompany.io => Organization B
joe@ccorp.com => Organization C
The application is for B2B, so the login experience is for Business Users
How can I achieve this?
Thanks!