How to bypass OIDC Tenant banner

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 MVC and OWIN.

Bill

banner

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

1 Like

Thanks. That worked. For others using 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");
                        }
1 Like

Perfect, Glad it worked!