Tahasaif3 commited on
Commit
cf99771
·
verified ·
1 Parent(s): c004a9f

Update src/config.py

Browse files
Files changed (1) hide show
  1. src/config.py +2 -2
src/config.py CHANGED
@@ -11,8 +11,8 @@ class Settings(BaseSettings):
11
  JWT_SECRET_KEY: str = "your-jwt-secret-change-in-production"
12
  JWT_ALGORITHM: str = "HS256"
13
  ACCESS_TOKEN_EXPIRE_DAYS: int = 7
14
- JWT_COOKIE_SECURE: bool = False # Set to True in production
15
- JWT_COOKIE_SAMESITE: str = "lax" # "lax" | "strict" | "none" (use "none" for cross-site cookies in production)
16
 
17
  # CORS
18
  FRONTEND_URL: str = "http://localhost:3000"
 
11
  JWT_SECRET_KEY: str = "your-jwt-secret-change-in-production"
12
  JWT_ALGORITHM: str = "HS256"
13
  ACCESS_TOKEN_EXPIRE_DAYS: int = 7
14
+ JWT_COOKIE_SECURE: bool = True # Set to True in production
15
+ JWT_COOKIE_SAMESITE: str = "none" # "lax" | "strict" | "none" (use "none" for cross-site cookies in production)
16
 
17
  # CORS
18
  FRONTEND_URL: str = "http://localhost:3000"