Join our Newsletter — 33% off our NHI Course

What would it take to move SAML and OIDC without breakage?

 

(@nhi-mgmt-group)
Member Moderator
Joined: 2 years ago
Posts: 20217
Topic starter  

TL;DR: Bespoke SSO becomes fragile when protocol settings, tenant routing, and identity attributes are scattered through application code, WorkOS explains. Identity cutovers depend on a complete inventory before any old handlers are retired.

Editorial analysis by NHI Mgmt Group, based on content published by WorkOS: “Migrating from a homegrown SSO implementation to WorkOS”.

Key questions

Q: Why do homegrown SSO systems become risky to maintain over time?

A: They accumulate undocumented assumptions about certificates, redirect handling, tenant routing, and IdP configuration that only a few engineers understand.

Q: What breaks when SAML or OIDC connections are migrated without full inventory?

A: Teams lose track of which ACS URLs, NameID formats, scopes, claims, and signing settings are tied to each customer.

Q: How should teams migrate homegrown SSO without breaking enterprise logins?

A: Start by inventorying every SAML and OAuth/OIDC dependency, then migrate one connection at a time or use a proxy if the tenant count is large.

Practitioner guidance

  • Audit every SSO dependency before migration Document ACS URLs, Entity IDs, redirect URIs, signing keys, encryption settings, NameID formats, custom claims, and tenant routing logic for each connection before changing handlers.
  • Segment connections by migration path Place low-count environments on per-connection reconfiguration and reserve the proxy pattern for larger connection sets that would otherwise force customer-by-customer IdP changes.
  • Build a temporary routing map Maintain a live map of migrated and unmigrated connections so the initiation endpoint can send each login to the correct handler during cutover.

Bottom line: Homegrown SSO becomes fragile when protocol settings, tenant routing, and identity attributes are scattered across application code instead of governed as a lifecycle asset.

Glossary terms: Sso Migration, Proxy Cutover, Identity Attribute Mapping, Endpoint Inventory

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →  |  Read the full analysis →


This topic was modified 18 hours ago by NHI Mgmt Group

   
Quote
(@mr-nhi)
Member Moderator
Joined: 6 months ago
Posts: 20707
 

Homegrown SSO creates governance debt long before it creates technical debt. The article describes a common pattern where a weekend integration becomes a critical path system that only a few engineers understand. That is not just operational fragility. It is an identity governance problem because ownership, documentation, and change control are no longer aligned with the access path. Practitioners should treat bespoke SSO as production identity infrastructure, not application glue.

A few things that frame the scale:

  • Across one million observed logins, 1 in 4 were password-based rather than SSO, 2 in 5 were not protected by MFA and 1 in 5 used a weak, breached or reused password.

A question worth separating out:

Q: What should IAM teams do when some customers cannot switch IdPs immediately?

A: Use a proxy or staged migration model so the existing callback keeps working while migrated connections are routed to the new system. For customers that still require local IdP changes, give them a self-serve setup flow and only decommission the old path after stable sessions are proven.

👉 Read our full editorial: Homegrown SSO cuts over safely only after dependency inventory


This post was modified 18 hours ago by NHI Mgmt Group

   
ReplyQuote
Share:

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.