Hi all,
My application in Auth0 has 3 connections. If you look at the screenshot, I have the following connections:
- Username-Password-Authentication
- google-oauth2
- An Enterprise connection to Microsoft Azure AD. We’ll call it “ad-connection”
Using the Auth0.js library, when I call webAuth.authorize()
, if I don’t pass a parameter, it is my understanding that it’s supposed to show me all of my available connections and let me choose which one I want to login with. It shows me option 1 and 2 which is great, but option 3 is missing:
What’s even more interesting, is that if I call webAuth.authorize({ connection: "ad-connection"});
to specifically target a connection, I get the proper Microsoft login screen where I can sign in via AD.
I’m new to Auth0 and this library, but my goal would be to let a user choose between logging in via AD or Username-Password-Authentication from the same screen. I have also tried inputting my AD credentials into the Username-Password-Authentication form and can confirm it does not recognize my login.
Would anyone be able to point me in the right direction of how to achieve this or if it can be done with this library? Any help would be greatly appreciated. Thank you in advance!