I have an ASP.NET 5, MVC 6 project that I have to retrofit so that it can authenticate with an ADFS server.
I have seen some examples of adapting the OWIN approach of ASP.NET 4.6 to ASP.NET 5 (i.e. an IAppBuilder to IApplicationBuilder adapter), but have been unsuccessful in getting it to go to the ADFS authority.
Using the project wizard for the ASP.NET 4.6 template and choosing on-premises authority, I have no trouble at all.
Moving my ASP.NET 5 project back to 4.6 is not an option however.
Thanks for any help.