Read claims principle from SignInResponseMessage of WSFederation
Since the release of WsFederation Owin middleware, the client using WSFederation based authentication becomes very easy
var options = new WsFederationAuthenticationOptions
{
MetadataAddress = Constants.BaseAddress + "/wsfed/metadata",
Wtrealm = "urn:xxxxxxxx",
SignInAsAuthenticationType = "Cookies"
};
app.UseWsFederationAuthentication(options);
That is all. Read the rest of this entry »
