feat: Added SSL support for authentication cookies
This commit is contained in:
@@ -49,6 +49,10 @@ ACCESS_TOKEN_EXPIRE_MINUTES=30
|
||||
# Algorithme de chiffrement JWT
|
||||
ALGORITHM=HS256
|
||||
|
||||
# Use SSL (True/False)
|
||||
# You need to set USE_SSL=True if you use HTTPS
|
||||
USE_SSL=False
|
||||
|
||||
# =========================
|
||||
# EMAIL / VALIDATION
|
||||
# =========================
|
||||
|
||||
@@ -39,6 +39,7 @@ class Settings(BaseSettings):
|
||||
SECRET_KEY: str
|
||||
ACCESS_TOKEN_EXPIRE_MINUTES: int = 30
|
||||
ALGORITHM: str = "HS256"
|
||||
USE_SSL: bool = False
|
||||
|
||||
# =========================
|
||||
# EMAIL (optionnel)
|
||||
|
||||
Reference in New Issue
Block a user