# Indicate on login which enterprise connection to use

**URL:** <https://community.auth0.com/t/indicate-on-login-which-enterprise-connection-to-use/93052>\
**Category:** Get Help\
**Tags:** auth0\
**Created:** [October 25, 2022, 12:51pm UTC](https://community.auth0.com/t/indicate-on-login-which-enterprise-connection-to-use/93052 "2022-10-25T12:51:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![perfectpattern](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/perfectpattern/32/12835_2.png) [@perfectpattern](https://community.auth0.com/u/perfectpattern)\
**Post date:** [October 25, 2022, 12:51pm UTC](https://community.auth0.com/t/indicate-on-login-which-enterprise-connection-to-use/93052/1 "2022-10-25T12:51:18Z")

</div>

I have some app specific logic before calling the authorize-endpoint, that might be able to already know the enterprise connection that should be used for login. In this cases I could save the user from the need to click on the “Login with XXX”-Button.

How can I give this information to the authorize-endpoint? There is a “connection” parameter, but the docs say that it is only for social connections…

Is this also possible for enterprise connections?

---

<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:** [October 27, 2022, 11:26pm UTC](https://community.auth0.com/t/indicate-on-login-which-enterprise-connection-to-use/93052/3 "2022-10-27T23:26:11Z")

</div>

Hi @perfectpattern,

You can pass a connection parameter to bypass the Auth0 Login widget.

[https://auth0.com/docs/api/authentication#enterprise-saml-and-others-](https://auth0.com/docs/api/authentication#enterprise-saml-and-others-)

---

<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 10, 2022, 11:26pm UTC](https://community.auth0.com/t/indicate-on-login-which-enterprise-connection-to-use/93052/4 "2022-11-10T23:26:28Z")

</div>

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