[EPIC] Auth & Frontend Remediation #411

Closed
opened 2026-02-16 16:56:23 +00:00 by jason.woltje · 0 comments
Owner

Summary

Backend auth hardening + frontend OIDC-aware multi-method login.

The Mosaic Stack authentication system has critical gaps that cause silent 500 errors in production and leave the frontend unable to adapt to backend configuration. The frontend login UI is hardcoded for OIDC-only authentication with no fallback, no error display, and no awareness of backend state.

Phases

  • Phase 1: Critical Backend Fixes (OIDC validation, error handling, PKCE)
  • Phase 2: Auth Config Discovery (GET /auth/config endpoint)
  • Phase 3: Backend Hardening (trustedOrigins, CORS, session config)
  • Phase 4: Frontend Foundation (auth components)
  • Phase 5: Login Page Integration (dynamic provider rendering)
  • Phase 6: Error Recovery & Polish (PDA error messages, retry logic, session expiry)

Plan

See for full implementation plan.

## Summary Backend auth hardening + frontend OIDC-aware multi-method login. The Mosaic Stack authentication system has critical gaps that cause silent 500 errors in production and leave the frontend unable to adapt to backend configuration. The frontend login UI is hardcoded for OIDC-only authentication with no fallback, no error display, and no awareness of backend state. ## Phases - Phase 1: Critical Backend Fixes (OIDC validation, error handling, PKCE) - Phase 2: Auth Config Discovery (GET /auth/config endpoint) - Phase 3: Backend Hardening (trustedOrigins, CORS, session config) - Phase 4: Frontend Foundation (auth components) - Phase 5: Login Page Integration (dynamic provider rendering) - Phase 6: Error Recovery & Polish (PDA error messages, retry logic, session expiry) ## Plan See for full implementation plan.
jason.woltje added this to the Auth-Frontend-Remediation (0.0.14) milestone 2026-02-16 16:56:23 +00:00
jason.woltje added the authsecurity labels 2026-02-16 16:56:23 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaic/stack#411