1

Hi

Does office 365 provides SSO SAML?

Requirement: I have one asp.net web application from my web application i need to login into my office 365 account( SSO )and again it should redirect back to my web application.

Is it possible to do with office 365?

1 Answers1

0

If you want to integrate the Web App Sign In & Sign Out with Azure AD, we can using the use the OWIN authentication pipeline with code below:

public void ConfigureAuth(IAppBuilder app)
{
    app.SetDefaultSignInAsAuthenticationType(CookieAuthenticationDefaults.AuthenticationType);

    app.UseCookieAuthentication(new CookieAuthenticationOptions());

    app.UseOpenIdConnectAuthentication(
    new OpenIdConnectAuthenticationOptions
    {
        ClientId = clientId,
        Authority = authority,
        PostLogoutRedirectUri = postLogoutRedirectUri,
    });
}

And we need to register the app with Azure AD to get the client Id. More detail you can refer to here.

Fei Xue
  • 14,369
  • 1
  • 19
  • 27