ADFS Not redirecting - Throwing 401

This is my first time trying this out so bear with me if I miss something dead simple. 

On Epi v10. Went through the documentation as noted here for my startup class and ADFS config. Everything looks to be okay, but when i try to hit my uiUrl its throwing a 401. No redirect is happening at all. Is there something I may be missing? 

Claims for now are just Name and Role. 

c:[Type == "http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname", Issuer == "AD AUTHORITY"]
=> issue(store = "Active Directory", types = ("http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name", "http://schemas.microsoft.com/ws/2008/06/identity/claims/role"), query = ";sAMAccountName,memberOf;{0}", param = c.Value);

I can access the metadataAddress just fine, and the identifier and endpoint are both set to the site root.

Any insight would be appreciated!

#179668 Jun 19, 2017 18:57
  • Member since: 2005

    Did you check the troubleshooting section of the doc page you linked?

    What if you just add a Authorize attribute to some controller action and try it. Also 401 response or do you get redirected to ADFS signin then?

    #179688 Jun 20, 2017 0:39
  • I did notice that OptimizeCompilations was on from the troubleshooting doc, but adjusting didn't resolve it. And its a 401 with no redirect.

    #179755 Jun 20, 2017 18:30