Jason Woltje
254da35300
feat(auth): add WorkOS + Keycloak SSO providers (P8-001)
- Refactor auth.ts to build OAuth providers array dynamically; extract
buildOAuthProviders() for unit-testability
- Add WorkOS provider (WORKOS_CLIENT_ID/SECRET/REDIRECT_URI env vars)
- Add Keycloak provider with realm-scoped OIDC discovery
(KEYCLOAK_URL/REALM/CLIENT_ID/CLIENT_SECRET env vars)
- Add genericOAuthClient plugin to web auth-client for signIn.oauth2()
- Add WorkOS + Keycloak SSO buttons to login page (NEXT_PUBLIC_*_ENABLED
feature flags control visibility)
- Update .env.example with SSO provider stanzas
- Add 8 unit tests covering all provider inclusion/exclusion paths
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-19 20:18:59 -05:00
..
2026-03-13 02:28:38 +00:00
2026-03-19 20:18:59 -05:00
2026-03-17 02:35:45 +00:00
2026-03-17 02:40:18 +00:00
2026-03-13 03:43:49 +00:00
2026-03-16 01:46:43 +00:00
2026-03-13 13:18:09 +00:00
2026-03-13 13:56:50 +00:00
2026-03-13 13:56:50 +00:00
2026-03-15 01:05:31 +00:00
2026-03-15 00:44:02 +00:00
2026-03-15 00:23:56 +00:00
2026-03-13 02:37:56 +00:00
2026-03-16 01:41:39 +00:00