Skip to content
StackDecode
System Design
13. Security ArchitectureAnimated

Single Sign-On (SSO)

Log in once to access many apps.

The idea

A central identity provider authenticates the user and vouches for them to each app.

Watch it work

Press play, pause, or step through. Some animations have settings you can change.

UserApp AIdentity provi…App Bopen App A
  • current message
  • earlier
  • failure or attack

The user visits App A.

step:
1/7
from:
User
to:
App A
1/7

Time runs downward. Solid arrows are requests, dashed arrows are replies.

Step by step

  1. 1User opens an app
  2. 2Redirected to the identity provider
  3. 3Logs in once
  4. 4Each app trusts the assertion

Where it is used

Enterprises.

Watch out for

The identity provider is a critical dependency.

Related