# In my Auth0 setup, I need to present multiple login buttons on the Universal Login page that both connect to the same SAML enterprise connection. The reason for

**URL:** <https://community.auth0.com/t/in-my-auth0-setup-i-need-to-present-multiple-login-buttons-on-the-universal-login-page-that-both-connect-to-the-same-saml-enterprise-connection-the-reason-for/193737>\
**Category:** Get Help\
**Tags:** connections, saml-enterprise-connection\
**Created:** [October 28, 2025, 10:10am UTC](https://community.auth0.com/t/in-my-auth0-setup-i-need-to-present-multiple-login-buttons-on-the-universal-login-page-that-both-connect-to-the-same-saml-enterprise-connection-the-reason-for/193737 "2025-10-28T10:10:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikas.viswanathan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vikas.viswanathan/32/71837_2.png) [@vikas.viswanathan](https://community.auth0.com/u/vikas.viswanathan)\
**Post date:** [October 28, 2025, 10:10am UTC](https://community.auth0.com/t/in-my-auth0-setup-i-need-to-present-multiple-login-buttons-on-the-universal-login-page-that-both-connect-to-the-same-saml-enterprise-connection-the-reason-for/193737/1 "2025-10-28T10:10:55Z")

</div>

Ready to post? 🔎In my Auth0 setup, I need to present **multiple login buttons** on the Universal Login page that both connect to the **same SAML enterprise connection**. The reason for this is that I have **two different user roles** (for example, _Admin_ and _Employee_) that both authenticate through the same external Identity Provider (IdP) using the same SAML configuration. First try searching for your answer.

---

<div class="post-metadata">

**Author:** ![vlad.murarasu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vlad.murarasu/32/72793_2.png) [@vlad.murarasu](https://community.auth0.com/u/vlad.murarasu)\
**Post date:** [October 28, 2025, 1:28pm UTC](https://community.auth0.com/t/in-my-auth0-setup-i-need-to-present-multiple-login-buttons-on-the-universal-login-page-that-both-connect-to-the-same-saml-enterprise-connection-the-reason-for/193737/3 "2025-10-28T13:28:49Z")

</div>

Hi @vikas.viswanathan,

The easiest way to achieve two separate login buttons for the same SAML IdP is to create two distinct SAML enterprise connections in your Auth0 dashboard. Make sure you give them distinct names such as `saml-admin` and `saml-employee`.

Even though both connections will point to the same external IdP, Auth0 will treat them as separate entities, which will cause Universal Login to render a button for each one.

You can assign the ‘Admin’ or ‘Employee’ role based on the button they clicked using an **Auth0 Action** in the **Post Login** flow. This code will run after the user successfully authenticates and can check which connection they used.

If you have any further questions feel free to reach out!

Have a good one,  
Vlad

---

<div class="post-metadata">

**Author:** ![vikas.viswanathan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vikas.viswanathan/32/71837_2.png) [@vikas.viswanathan](https://community.auth0.com/u/vikas.viswanathan)\
**Post date:** [November 10, 2025, 11:55am UTC](https://community.auth0.com/t/in-my-auth0-setup-i-need-to-present-multiple-login-buttons-on-the-universal-login-page-that-both-connect-to-the-same-saml-enterprise-connection-the-reason-for/193737/4 "2025-11-10T11:55:37Z")

</div>

Thank you. That seems to solve the first problem.

Second problem is that the new button came last in the list of buttons, is the ordering based on the creation date. I am aware that we can’t change the order, But want to know on what basis it is ordered like created date or connection name or based on something else.

I am also trying to use partials to see if I can add one more button to the list of button probably on the top.

Regards

Vikas

---

<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:** [November 24, 2025, 11:55am UTC](https://community.auth0.com/t/in-my-auth0-setup-i-need-to-present-multiple-login-buttons-on-the-universal-login-page-that-both-connect-to-the-same-saml-enterprise-connection-the-reason-for/193737/5 "2025-11-24T11:55:59Z")

</div>

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