# Auth0.js - webAuth.authorize() not showing Enterprise connection

**URL:** <https://community.auth0.com/t/auth0-js-webauth-authorize-not-showing-enterprise-connection/58446>\
**Category:** Get Help\
**Created:** [February 24, 2021, 4:34pm UTC](https://community.auth0.com/t/auth0-js-webauth-authorize-not-showing-enterprise-connection/58446 "2021-02-24T16:34:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Catalyst619](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/catalyst619/32/13075_2.png) [@Catalyst619](https://community.auth0.com/u/Catalyst619)\
**Post date:** [February 24, 2021, 4:34pm UTC](https://community.auth0.com/t/auth0-js-webauth-authorize-not-showing-enterprise-connection/58446/1 "2021-02-24T16:34:28Z")

</div>

Hi all,

My application in Auth0 has 3 connections. If you look at the screenshot, I have the following connections:

 ![Screen Shot 2021-02-24 at 11.09.32 AM](https://global.discourse-cdn.com/auth0/original/3X/d/2/d24dfd4b8dabf2993d165baa2d4ecefc945c9f27.png)

1. Username-Password-Authentication
2. google-oauth2
3. 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:

 ![Screen Shot 2021-02-24 at 11.08.50 AM](https://global.discourse-cdn.com/auth0/original/3X/2/9/29325670a18a4fa6b2dc078a71e7386365e934e5.png)

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!

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [February 24, 2021, 10:16pm UTC](https://community.auth0.com/t/auth0-js-webauth-authorize-not-showing-enterprise-connection/58446/3 "2021-02-24T22:16:24Z")

</div>

Hi @Catalyst619,

You can configure universal login to show a button for Azure AD.

Go to the connection → Login Experience → Connection button → ☑ Display connection as a button.

---

<div class="post-metadata">

**Author:** ![Catalyst619](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/catalyst619/32/13075_2.png) [@Catalyst619](https://community.auth0.com/u/Catalyst619)\
**Post date:** [February 25, 2021, 3:34pm UTC](https://community.auth0.com/t/auth0-js-webauth-authorize-not-showing-enterprise-connection/58446/4 "2021-02-25T15:34:59Z")

</div>

Thank you for your help @dan.woda !

Any chance this setting was moved to another place? Under Login Experience, it seems the only things I can configure the Identity Provider Domains and Microsoft Azure AD Domain

 ![Screen Shot 2021-02-25 at 10.27.36 AM](https://global.discourse-cdn.com/auth0/original/3X/7/e/7e3722d7750e272b00def76c86d0937d4662d6b4.png)

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [February 25, 2021, 4:56pm UTC](https://community.auth0.com/t/auth0-js-webauth-authorize-not-showing-enterprise-connection/58446/5 "2021-02-25T16:56:15Z")

</div>

It looks like you might be using classic universal login. Is there a specific reason you chose classic? If not, you should be able to switch to new UL and see the button option.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 12, 2021, 4:56pm UTC](https://community.auth0.com/t/auth0-js-webauth-authorize-not-showing-enterprise-connection/58446/6 "2021-03-12T16:56:38Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
