Monday, March 16, 2015

Troubleshooting ADFS Authentication with ASP.NET MVC

If you are using ADFS to secure your ASP.NET MVC Web Application, you may encounter some issues when you are securing your ASP.NET MVC Web Application even after following this article:

First of all, if you have the incorrect Realm configured in ADFS, you may encounter an error such as the following:

In order to resolve this, you need to make sure that the ida:Realm value that you have configured in your Web.config file matches the Relying Party Trust Identifier that you have configured in ADFS.

Next, if you attempt to log into your application using Internet Explorer, you may hit an endless loop of Windows Authentication prompts:

Unfortunately, I am at a loss on how to solve this particular issue since it seems specific to Internet Explorer because other browsers seem to work just fine:

When you attempt to log into ADFS, make sure that you sign in using the required login format:

If everything works correctly, you will be directed to the Home Page of your ASP.NET MVC Web Application:

No comments:

Post a Comment