feat: fixed OAUTH issues

- Added BACKEND_URL to .env.example for optional OAuth callback configuration when behind a reverse proxy with HTTPS.
- Updated fastapi-users dependency to version 15.0.3 in pyproject.toml.
- Updated argon2-cffi and email-validator versions in uv.lock.
- Enhanced Google OAuth integration in app.py to handle secure contexts for CSRF cookies.
- Updated GoogleLoginButton component to include credentials in fetch requests.
- Updated documentation to reflect the new BACKEND_URL variable in both docker and manual installation guides.
This commit is contained in:
DESKTOP-RTLN3BA\$punk 2025-12-19 14:19:30 -08:00
parent 46f608486d
commit 3f2b915cd0
7 changed files with 67 additions and 50 deletions

View file

@ -24,6 +24,9 @@ SCHEDULE_CHECKER_INTERVAL=5m
SECRET_KEY=SECRET
NEXT_FRONTEND_URL=http://localhost:3000
# Backend URL for OAuth callbacks (optional, set when behind reverse proxy with HTTPS)
# BACKEND_URL=https://api.yourdomain.com
# Auth
AUTH_TYPE=GOOGLE or LOCAL
REGISTRATION_ENABLED=TRUE or FALSE