# Possible to prevent showing the login form for a single enterprise IDP (preselected with URL parameter)

**URL:** <https://community.auth0.com/t/possible-to-prevent-showing-the-login-form-for-a-single-enterprise-idp-preselected-with-url-parameter/19579>\
**Category:** Get Help\
**Tags:** form, silent-auth, silent-authenticatio, login\
**Created:** [January 3, 2019, 4:39pm UTC](https://community.auth0.com/t/possible-to-prevent-showing-the-login-form-for-a-single-enterprise-idp-preselected-with-url-parameter/19579 "2019-01-03T16:39:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![user716](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@user716](https://community.auth0.com/u/user716)\
**Post date:** [January 3, 2019, 4:39pm UTC](https://community.auth0.com/t/possible-to-prevent-showing-the-login-form-for-a-single-enterprise-idp-preselected-with-url-parameter/19579/1 "2019-01-03T16:39:26Z")

</div>

I have a requirement to never display a login page for users of a single external IDP. They open up our application over another DNS address and should then automatically be redirected to the SAML login page of their IDP. I assume this should be possible by specifying the IDP directly as an URL parameter (an URL parameter to the login page of Auth0 preselecting the IDP). I have, however, not found any information about this. Can this be achieved with a rule?

The main goal of this is to never show the end users a login form, when they access our application over their branded URL.

Thanks!

---

<div class="post-metadata">

**Author:** ![user716](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@user716](https://community.auth0.com/u/user716)\
**Post date:** [January 7, 2019, 5:05pm UTC](https://community.auth0.com/t/possible-to-prevent-showing-the-login-form-for-a-single-enterprise-idp-preselected-with-url-parameter/19579/2 "2019-01-07T17:05:54Z")

</div>

I got a response from the Auth0 support which answers this question:

> You can achieve this by passing a **`connection`** parameter to the **`/authorize`** endpoint. See our [documentation](https://auth0.com/docs/libraries/lock/v11/selecting-the-connection-for-multiple-logins#option-1-programmatically) on the subject for more information.

---

<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:** [February 6, 2019, 5:06pm UTC](https://community.auth0.com/t/possible-to-prevent-showing-the-login-form-for-a-single-enterprise-idp-preselected-with-url-parameter/19579/3 "2019-02-06T17:06:15Z")

</div>

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