0
votes

I'm authenticating users trough ADFS using OWIN in ASP.NET MVC.

I use the same ADFS server for two diferent sites. The first site is www.mysite.com and the ADFS authentication works propertly.

The second site is www.mysiteadmin.com (the administrative site), but when the user succesfully logs-in in the ADFS site, the redirection is made to www.mysite.com and not to the "admin" site.

Does someone knows why is this happening. I asked to the ADFS Service owners and they said that both sites are registered as relying party trust.

I want to specify the respective redirection URL on each site, but I haven't found anything helpful over the internet.

Thank you very much!

1

1 Answers

0
votes

If both sites are set up with RP trusts and both have the correct redirect URI this will work.

These are separate applications?

It sounds like both sites have the same URI?