logo
SAML vs OpenID Connect, Explained in Plain English
Identity in Plain English

107,208 views

1,496 likes

SAML or OpenID Connect? If you've ever stared at a single sign-on settings page and guessed, this video explains what each one is, shows a real login with both, and gives you a simple rule for choosing.

I've worked in IT for over 40 years, most of it on one problem: who gets to log in to what. This is identity and access management in plain English, with real demos and no vendor pitch.

CHAPTERS

0:00 SAML or OIDC?

0:24 Who I am

0:48 The problem they both solve

1:37 The three parties

2:05 How SAML works

3:15 A real SAML login, traced

3:50 SAML vocabulary, pros and cons

4:59 How OpenID Connect works

6:09 Inside a real ID token

7:06 OIDC vocabulary, pros and cons

8:22 SAML vs OIDC side by side

9:06 The rule for choosing

10:01 Three common mistakes

11:01 Summary, and what's next

THE SHORT VERSION

1. Check what the app supports. Often it only offers one.

2. An older enterprise product? Expect SAML.

3. Something modern, a mobile app, or anything with APIs? Use OIDC.

4. If the app offers both, pick OIDC, unless your team already runs everything on SAML.

THREE MISTAKES TO AVOID

- Using plain OAuth as a login system. If you need login, you need OIDC.

- Forgetting SAML certificates expire. Put a reminder on a shared calendar, a month ahead.

- Loose redirect URIs in OIDC. Register the exact address, with no wildcards.

SHOWN IN THE DEMOS

- Keycloak as the identity provider, running in Docker

- The SAML-tracer browser extension

NEXT TIME: LDAP in plain English.

Which one does your workplace use? Tell me in the comments. If the honest answer is "both, and nobody remembers why", you're in good company.

Music: "Inspired" by Kevin MacLeod (incompetech.com)

Licensed under Creative Commons:

#SAML #OIDC #SSO