Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

ASP.NET+OWIN redirect loop when talking to ADFS 3.0 (IE only)

$
0
0

I would like to test using an intranet ADFS server to log in to a cloud-based IIS server.

I have setup a lab with:- one stand-alone ADFS 3.0 on W2K12, and one IIS 8.5 web server on W2K12.

When I browse to my custom ASP.NET web site, I use a relative URL.

I am automatically redirected to the ADFS login screen - good.

Using the form I enter the correct username and password -good.

ADFS automatically sends POST back to the web site.

However, rather than displaying the web page I am again redirected to the ADFS login which immediately sends me round the redirect loop again.

I can't explain why my setup works correctly in Firefox and Chrome but not in Internet explorer.

I'm using the example WebApp-OpenIDConnect-DotNet from here:- https://github.com/AzureADSamples/WebApp-OpenIDConnect-DotNet

public void ConfigureAuth(IAppBuilder app)

 {

app.UseWsFederationAuthentication(...);

}

What am I doing wrong? Is it IE, ADFS or my ASP.NET application that's at fault?


Viewing all articles
Browse latest Browse all 4737

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>