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:
- How we solve this issue?
- How is th standard setup when we do AD login