I have a question regarding a single-page-app and 2 db connections. Here is the scenario:
I have one db-connection for standard “email” logins and another db-connection for “username” logins. Both are used for separate groups of people.
Creating the db connections and testing them within the auth0 dashboard worked fine.
Upon sign-up, I want to be able to:
a) assign a specific role
b) select which db-connection to use for the registration
Upon sign-in, I want to be able to:
a) select which db-connection to use for signing in
Ideally I would continue to use the central auth0 login. Each user-group has their own login-button in the lSPA.
I have read about using rules, hooks and connectionResolvers to solve this but I am still unsure what to use for my use-case. Also, do I understand it correctly that my use-case is only possible with the classic universal login?
Thanks and best regards,