All checks were successful
CI/CD — Build & Deploy / Build & Deploy (push) Successful in 29s
- 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.
9 lines
371 B
Plaintext
9 lines
371 B
Plaintext
# URL de base SuperOAuth — pas de client_id, SuperOAuth ne gère pas ce concept
|
|
# Le flow : /api/v1/auth/oauth/:provider?redirectUrl=<callback_url>
|
|
# Valeur : voir brain/MYSECRETS section originsdigital
|
|
VITE_SUPEROAUTH_URL=
|
|
|
|
# SuperOAuth PKCE (Step 3) — flow authorization_code avec PKCE
|
|
VITE_OAUTH_URL=https://oauth.tetardtek.com
|
|
VITE_OAUTH_CLIENT_ID=originsdigital
|