# Auth0 Universal Login page redirects unauthenticated user straight to an external OIDC IdP login page

**URL:** <https://community.auth0.com/t/auth0-universal-login-page-redirects-unauthenticated-user-straight-to-an-external-oidc-idp-login-page/21962>\
**Category:** Get Help\
**Created:** [February 28, 2019, 10:54pm UTC](https://community.auth0.com/t/auth0-universal-login-page-redirects-unauthenticated-user-straight-to-an-external-oidc-idp-login-page/21962 "2019-02-28T22:54:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dlozitskiy](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dlozitskiy/32/11435_2.png) [@dlozitskiy](https://community.auth0.com/u/dlozitskiy)\
**Post date:** [February 28, 2019, 10:54pm UTC](https://community.auth0.com/t/auth0-universal-login-page-redirects-unauthenticated-user-straight-to-an-external-oidc-idp-login-page/21962/1 "2019-02-28T22:54:45Z")

</div>

Hello,

I’m trying to implement an authentication flow where Auth0 Universal Login page automatically redirects the user to an external OIDC IdP for login.

In current flow the user lands on the Auth0 Universal Login page and needs to click on the button to get redirected to OIDC.

Are there any recommendations or known solutions how to implement this?

Thanks.

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [March 1, 2019, 12:07pm UTC](https://community.auth0.com/t/auth0-universal-login-page-redirects-unauthenticated-user-straight-to-an-external-oidc-idp-login-page/21962/3 "2019-03-01T12:07:10Z")

</div>

It is not a standard parameter, but the authorization endpoint accepts a `connection` parameter that you may be able to use to achieve that requirement. By passing the name of the connection that is associated with the external OIDC IdP the authorization endpoint should redirect to the provider and skip a login page.

---

<div class="post-metadata">

**Author:** ![dlozitskiy](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dlozitskiy/32/11435_2.png) [@dlozitskiy](https://community.auth0.com/u/dlozitskiy)\
**Post date:** [March 3, 2019, 7:13pm UTC](https://community.auth0.com/t/auth0-universal-login-page-redirects-unauthenticated-user-straight-to-an-external-oidc-idp-login-page/21962/4 "2019-03-03T19:13:52Z")

</div>

Thanks @jmangelo

Would you mind to point me to the documentation on how to use that?

I tried adding extra parameter `&connection=name` to a SAML endpoint URL but it didn’t seem to work.

Thanks.

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [March 4, 2019, 11:39am UTC](https://community.auth0.com/t/auth0-universal-login-page-redirects-unauthenticated-user-straight-to-an-external-oidc-idp-login-page/21962/5 "2019-03-04T11:39:21Z")

</div>

For a SAML client application the parameter is documented at ([Authentication API Explorer](https://auth0.com/docs/api/authentication#saml)), but there’s not much to it in terms of documentation. It should just be adding the parameter as a query string parameter and providing the name of a connection that is enabled for the application.

If you have an online sample that reproduces the issues or you can share a simplified trace of the requests then it may be possible to further look into what’s going on.

---

<div class="post-metadata">

**Author:** ![dlozitskiy](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dlozitskiy/32/11435_2.png) [@dlozitskiy](https://community.auth0.com/u/dlozitskiy)\
**Post date:** [March 4, 2019, 8:23pm UTC](https://community.auth0.com/t/auth0-universal-login-page-redirects-unauthenticated-user-straight-to-an-external-oidc-idp-login-page/21962/6 "2019-03-04T20:23:27Z")

</div>

Thanks @jmangelo this works perfectly,

I’ve figured out eventually that `connecton` parameter is case sensitive.

---

<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 19, 2019, 8:23pm UTC](https://community.auth0.com/t/auth0-universal-login-page-redirects-unauthenticated-user-straight-to-an-external-oidc-idp-login-page/21962/7 "2019-03-19T20:23:32Z")

</div>

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