SSO with SAML 2.0

Use

SAML provides a standard for cross-domain Single Sign-On (SSO). Other methods exist for enabling cross domain SSO, but they require proprietary solutions to pass authentication information across domains. SAML 2.0 supports identity-provider-initiated SSO as in SAML 1.x. SAML 2.0 also supports service-provider-initiated SSO.

When the identity provider initiates SSO, you must maintain links on the identity provider system to the protected resources on the service providers. When you protect resources with SAML on a service provider, the service provider is configured to request authentication from the identity provider.

Process

SAML provides options to pass SAML messages back and forth between the identity provider and the service provider.

  • Front channel

    SAML messages are passed back and forth over the user agent with HTTP redirect or HTTP POST methods.

  • Back channel

    Only SAML artifacts are exchanged over the user agent by the identity provider and service provider. When a provider receives an artifact, it queries the other provider directly over SOAP.

Back-channel communication provides additional security, by ensuring that potential eavesdroppers of the user agent only access the SAML artifacts. However, back-channel communication requires additional round trips to resolve an authentication request. You can protect front-channel communication with encryption and digital signatures. You can mix the communication options.

Front-Channel Communication

The following figure illustrates service-provider-initiated SSO with front-channel communication.

Process Flow for Front-Channel SSO with SAML 2.0

Back-Channel Communication

The following figure illustrates service-provider-initiated SSO with back-channel communication.

Process Flow for Back-Channel SSO with SAML 2.0