feat(sprint1-step4): SuperOAuth login frontend
- AuthContext : fix exports, x-auth-token header, loginWithOAuth(), suppression axios/jwt-decode - Login.jsx : redirect SuperOAuth Discord avec tenantId=clickerz - AuthCallback.jsx : extraction token query param, flow OAuth complet - .env.sample : ajout VITE_SUPEROAUTH_URL - Mode invité préservé (pas de route guard)
This commit is contained in:
@@ -3,5 +3,5 @@
|
||||
# Backend API URL (call it in React with import.meta.env.VITE_BACKEND_URL)
|
||||
VITE_BACKEND_URL=http://localhost:3310
|
||||
|
||||
# Other Environment Variables (if needed)
|
||||
# VITE_OTHER_VARIABLE=value
|
||||
# SuperOAuth URL (OAuth login provider)
|
||||
VITE_SUPEROAUTH_URL=https://superoauth.tetardtek.com
|
||||
|
||||
Reference in New Issue
Block a user