Authentication login issue with Azure Active Directory



We are having an issue when user tries to login using Azure Active directory. We are wokring on Episerver v.11 on Azure DXC.

We have 2 hostnames, for Editor login and which is used as proxy for 

We are using openId Connect with Owin for AD authentication .

When we try login from, it redirects us to Azure login page, we put our credentials and after authentication redirects back to the redirect url which is We get authenticated in AD but does not show it in MySite.

The problem is because we are tunneling through, Episerver(.net) thinks it as is the source url and probably puts cookies(.AspNet.Cookies, .ASPXROLES) related with authentication in and not in, thats why does not show as logged in.

My question is:

  1. How we solve this issue? 
  2. How is th standard setup when we do AD login
Feb 05, 2020 13:37
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.