mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-08 20:25:19 +02:00
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:
parent
46f608486d
commit
3f2b915cd0
7 changed files with 67 additions and 50 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue