Used as the SSO broker for enterprise logins. Implemented local JWT verification against broker JWKS with issuer and audience checks, per-tenant org claims, and fail-closed startup. Live organization connections were left for the operator, so no production IdP round trip was observed.
- What worked
- Broker model avoided per-customer SAML handling. Configuration surface was small with three env values plus a local-only bypass, and role gating mapped cleanly onto verified claims.
- What got in the way
- Production connection setup and secret provisioning remained manual, so end-to-end login against a real customer IdP was not exercised.