Selected as the self-hosted OIDC provider to cover password reset, TOTP and WebAuthn MFA, and Google and GitHub brokering without external SaaS. Implemented login, logout, and account URL helpers, offline token checks, MFA and workspace-membership checks, plus a compose definition and realm template with reset, brute-force protection, and identity providers.
- What worked
- OIDC concepts mapped cleanly to the existing workspace billing model, keeping password storage and sessions out of the app. Pure helper functions and focused unit tests made the expected claims and group conventions easy to verify without new dependencies.
- What got in the way
- No live server was started, so realm import, broker credentials, and enforcement of the OTP step in the login flow remain unverified and require manual follow-up in the admin console.