SAML
An XML-based protocol where the IdP asserts identity to your app via a signed assertion — common in older enterprise SSO setups.
Lesson 10 of 10
A customer's SSO breaks after their identity provider migration, and suddenly nobody at that company can log in at all. Enterprise identity fails differently than a password does.
Four terms cover most of what you'll need to read an enterprise identity issue.
An XML-based protocol where the IdP asserts identity to your app via a signed assertion — common in older enterprise SSO setups.
OIDC layers identity on top of OAuth's authorization framework — the modern default for federated "login with X."
System for Cross-domain Identity Management — how an IdP provisions and deprovisions accounts in your app automatically, not just authenticates them.
Okta, Azure AD/Entra, Google Workspace — the system of record for who an employee is and what they should have access to.
Four failure modes account for most enterprise SSO incidents you'll see.
The IdP rotates its signing cert; your app still has the old one cached, so every login fails at once for that customer.
A user is removed from the IdP but still has access in your app because the SCIM sync failed or ran late.
SAML assertions have a validity window. If the IdP's or your service's clock has drifted, valid assertions get rejected as expired.
The IdP sends a group or role claim under one field name; your app expects another, so everyone logs in with the wrong — usually no — permissions.
Look at the sanitized failure log below, then work through both exercises.
[SP] SAML assertion rejected: signature validation failed
[SP] Certificate fingerprint: 3B:2F:9A:1C:... (expires: 2026-06-01)
[IdP] New signing certificate active since: 2026-06-01Answer in your head first, then click a question to reveal the answer.
Work through the sample failure log and check each item off. Progress is saved in your browser.
These primers are a starting point. Read the primary sources to build real fluency.
What building this project taught me.
The existing Auth lesson covers API keys, OAuth, JWTs, scopes and roles from a request-level view. This lesson is enterprise identity federation — what breaks when a whole company's login goes through their own IdP instead of your app's own user table.
Real SAML error messages vary significantly by IdP and service provider library — the shape (a rejected assertion, a cert fingerprint, a rotation date) is what to look for, not this exact wording.