Files
originsdigital/frontend
Tetardtek 7932659a73
All checks were successful
CI/CD — Build & Deploy / Build & Deploy (push) Successful in 29s
feat(auth): PKCE flow preparation + CallbackPage dual-mode
- Add oauth.ts — PKCE helpers (code verifier/challenge, token exchange)
- Add LoginButton — "Se connecter avec SuperOAuth" component
- Update CallbackPage — handles both PKCE (?code) and legacy (?token) flows
- Update .env.example — VITE_OAUTH_URL + VITE_OAUTH_CLIENT_ID

PKCE flow ready for when SuperOAuth exposes /oauth/authorize endpoint.
Legacy flow (redirect + token query param) remains active in production.
2026-03-22 12:50:07 +01:00
..