# How to bypass OIDC Tenant banner

**URL:** <https://community.auth0.com/t/how-to-bypass-oidc-tenant-banner/49898>\
**Category:** Get Help\
**Created:** [September 17, 2020, 12:17am UTC](https://community.auth0.com/t/how-to-bypass-oidc-tenant-banner/49898 "2020-09-17T00:17:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![william.james.martin](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/william.james.martin/32/23959_2.png) [@william.james.martin](https://community.auth0.com/u/william.james.martin)\
**Post date:** [September 17, 2020, 12:17am UTC](https://community.auth0.com/t/how-to-bypass-oidc-tenant-banner/49898/1 "2020-09-17T00:17:01Z")

</div>

We’re implementing Auth0 where subtenants will login through a local LDAP server. I’m working at the subtenant level and am looking to bypass the attached intermediate screen. Clicking ‘Log in …’ in the attached banner sends me to our login screen. I want to go directly to the login screen.

How do I do this? I’m using [ASP.Net](http://ASP.Net) MVC and OWIN.

Bill

 ![banner](https://global.discourse-cdn.com/auth0/original/3X/6/b/6b0db692aa61073fa61f7777f38c013438635060.png)

---

<div class="post-metadata">

**Author:** ![sidharth.chaudhary](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sidharth.chaudhary/32/20686_2.png) [@sidharth.chaudhary](https://community.auth0.com/u/sidharth.chaudhary)\
**Post date:** [September 17, 2020, 5:02am UTC](https://community.auth0.com/t/how-to-bypass-oidc-tenant-banner/49898/2 "2020-09-17T05:02:08Z")

</div>

Hey @william.james.martin, I may not have understood correctly just confirming do you want to do directly go to the LDAP connection login screen instead of the intermediate Auth0 login?  
If yes there is a way to do that by specifying the connection name in the /authorize request by the  
“connection” parameter.

Example /authorize request:  
https://your\_domain/authorize?response\_type=code&client\_id=&redirect\_uri=&scope=openid+profile+email+offline\_access&state=\<\>&nonce=\<\>& **connection=ldap-conn-2**

Let me know if this is what you are looking for.

Regards,  
Sidharth

---

<div class="post-metadata">

**Author:** ![william.james.martin](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/william.james.martin/32/23959_2.png) [@william.james.martin](https://community.auth0.com/u/william.james.martin)\
**Post date:** [September 18, 2020, 7:24pm UTC](https://community.auth0.com/t/how-to-bypass-oidc-tenant-banner/49898/3 "2020-09-18T19:24:25Z")

</div>

Thanks. That worked. For others using [ASP.Net](http://ASP.Net) and OWIN, I ended up adding this to my Startup.cs under Notification:

```
 if (notification.ProtocolMessage.RequestType == OpenIdConnectRequestType.Authentication)
                        { 
                            notification.ProtocolMessage.SetParameter("connection", "tenantName");
                        }

```

---

<div class="post-metadata">

**Author:** ![sidharth.chaudhary](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sidharth.chaudhary/32/20686_2.png) [@sidharth.chaudhary](https://community.auth0.com/u/sidharth.chaudhary)\
**Post date:** [September 19, 2020, 2:17am UTC](https://community.auth0.com/t/how-to-bypass-oidc-tenant-banner/49898/4 "2020-09-19T02:17:41Z")

</div>

Perfect, Glad it worked!

---

<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:** [October 4, 2020, 2:17am UTC](https://community.auth0.com/t/how-to-bypass-oidc-tenant-banner/49898/5 "2020-10-04T02:17:41Z")

</div>

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