Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

Saml 2.0 for authentication

$
0
0

Hi.

We are planning to build a plattform for a customer, which has as a requierment that we use one of their systems for SSO. This system uses SAML sign-in protocol (and thus SAML 2.0 token). We havn't gotten access to this system yet, but is there any issues with this? In a previous system we used ws-federation with  an azure ad, but we havn't tried using the SAML protocol. Googling this gives very little information and thus I thought to check if you have and info or example? Below is part of the code used for wsfederation.

// Enable cookie authentication, used to store the claims between requests
app.SetDefaultSignInAsAuthenticationType(WsFederationAuthenticationDefaults.AuthenticationType);
app.UseCookieAuthentication(new CookieAuthenticationOptions
{
AuthenticationType = WsFederationAuthenticationDefaults.AuthenticationType
});
// Enable federated authentication
app.UseWsFederationAuthentication(new WsFederationAuthenticationOptions()
{



Regards

Martin Andersson

Developer

Ottoboni


Viewing all articles
Browse latest Browse all 9076

Trending Articles