- 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)
8 lines
274 B
Plaintext
Executable File
8 lines
274 B
Plaintext
Executable File
# .env.sample - Sample Environment Variables for Frontend (Vite)
|
|
|
|
# Backend API URL (call it in React with import.meta.env.VITE_BACKEND_URL)
|
|
VITE_BACKEND_URL=http://localhost:3310
|
|
|
|
# SuperOAuth URL (OAuth login provider)
|
|
VITE_SUPEROAUTH_URL=https://superoauth.tetardtek.com
|