Try our conversational search powered by Generative AI!

Authentication login issue with Azure Active Directory

Vote:
 

Hi,

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, hostname.net for Editor login and hostname1.net which is used as proxy for Mysite.com. 

We are using openId Connect with Owin for AD authentication .

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

The problem is because we are tunneling MySite.com through hostname1.net, Episerver(.net) thinks it as hostname1.net is the source url and probably puts Asp.net cookies(.AspNet.Cookies, .ASPXROLES) related with authentication in hostname1.net and not in Mysite.com, thats why Mysite.com 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
#216402
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.