feat: PKCE auth + CI/CD deploy
Some checks failed
CI/CD — Build & Deploy / Build & Deploy (push) Failing after 25s
Some checks failed
CI/CD — Build & Deploy / Build & Deploy (push) Failing after 25s
- Frontend: PKCE flow (oauth.js, api.js centralized, cookie-based AuthContext) - Backend: token introspection, cookies httpOnly, refresh endpoint - Replaced localStorage JWT with httpOnly session cookies - useSaveSync migrated to cookie auth - cookie-parser added - Gitea CI workflow (vps-runner pattern)
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
# .env.sample - Sample Environment Variables for Frontend (Vite)
|
||||
|
||||
# Backend API URL (call it in React with import.meta.env.VITE_BACKEND_URL)
|
||||
# Backend API URL
|
||||
VITE_BACKEND_URL=http://localhost:3310
|
||||
|
||||
# SuperOAuth URL (OAuth login provider)
|
||||
VITE_SUPEROAUTH_URL=https://superoauth.tetardtek.com
|
||||
# SuperOAuth PKCE — OAuth provider
|
||||
VITE_OAUTH_URL=https://superoauth.tetardtek.com
|
||||
VITE_OAUTH_CLIENT_ID=clickerz
|
||||
|
||||
Reference in New Issue
Block a user