# Auto select the Connection when daisy chaining 3 Auth0 tenants via OpenID Connect for SSO

**URL:** <https://community.auth0.com/t/auto-select-the-connection-when-daisy-chaining-3-auth0-tenants-via-openid-connect-for-sso/118878>\
**Category:** Get Help\
**Tags:** login-prompt-new-experience, login-experience\
**Created:** [October 19, 2023, 7:47am UTC](https://community.auth0.com/t/auto-select-the-connection-when-daisy-chaining-3-auth0-tenants-via-openid-connect-for-sso/118878 "2023-10-19T07:47:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![shane.nall](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@shane.nall](https://community.auth0.com/u/shane.nall)\
**Post date:** [October 19, 2023, 7:47am UTC](https://community.auth0.com/t/auto-select-the-connection-when-daisy-chaining-3-auth0-tenants-via-openid-connect-for-sso/118878/1 "2023-10-19T07:47:16Z")

</div>

We need to act as the middle service provider in a SSO solution.

For example I have setup 3 Auth0 tenants : supplier =\> saas =\> myid

I have OpenID Connect enterprise connections between each tenant and it’s all working.

I can get the first login to auto select the connection by setting authorizationParams.connection = saas but I want to be able to auto select the connection for the middle Auth0 tenant.  
Is there a configuration option I can’t find or anyway to customise the universal login to enable this?

---

<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 26, 2023, 3:14pm UTC](https://community.auth0.com/t/auto-select-the-connection-when-daisy-chaining-3-auth0-tenants-via-openid-connect-for-sso/118878/3 "2023-10-26T15:14:34Z")

</div>

Hi @shane.nall,

Welcome to the Auth0 Community!

You _should_ be able to do this with [Pass Parameters to Identity Providers](https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps). Passing a connection param upstream for each tenant.

---

<div class="post-metadata">

**Author:** ![shane.nall](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@shane.nall](https://community.auth0.com/u/shane.nall)\
**Post date:** [October 26, 2023, 11:17pm UTC](https://community.auth0.com/t/auto-select-the-connection-when-daisy-chaining-3-auth0-tenants-via-openid-connect-for-sso/118878/4 "2023-10-26T23:17:32Z")

</div>

Hi @dan.woda,

Yep support directed me here as well and using the `upstream_params` I was able to get it working perfectly. So thanks for the follow through.

Cheers,  
Shane

---

<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, 2023, 1:05pm UTC](https://community.auth0.com/t/auto-select-the-connection-when-daisy-chaining-3-auth0-tenants-via-openid-connect-for-sso/118878/5 "2023-10-27T13:05:56Z")

</div>

Thanks for the follow up!

---

<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, 2023, 1:06pm UTC](https://community.auth0.com/t/auto-select-the-connection-when-daisy-chaining-3-auth0-tenants-via-openid-connect-for-sso/118878/6 "2023-11-10T13:06:17Z")

</div>

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