Creating Owin Auth Provider that Exchanges a Custom Token for a .Net Auth Cookie
问题 I am trying to create an SSO like solution between 2 .Net applications .Net app 1 has a custom token generator and endpoints to validate tokens that returns user information. .Net application 2 is protected using Owin and was a typical standalone app and a user would directly login using a password and username. I created (based on Passion for Coding Blog and Github) a custom Owin provider that would look for a token either in a Authorization header or as a query parameter from a link that a