I am familiar with some ADFS stuff and have onboarded and used a few sites but this is a totally new subject for me.
I have two Microsoft ADFS sites with urn Realms that I need to be in one web project. The first site is something like https://mydomain.com and the second site is https://sub.mydomain.com.
I know I can set one up as a subdomain and I have the hosts names set up correctly. But every time I try to go to any pages using the sub-domain it gives me 401 - Unauthorized: Access is denied due to invalid credentials error. Or the site will redirect to the realm I have in the web.config with passifRedirectEnabled
The page works perfectly fine when i dont add the subdomain to the hostnames and I have both sites on-boarded with corp ms stuff.
I have added both the urn values to the web.config file I am just not sure what else I need to add in the web.config file or config files to make this 401 access error go away and authentication still work.
I am sure there is similar articles to this I just am unable to find them. I would be very much thankful if someone could point me in the right direction