Fix tenant register

This commit is contained in:
Urtzi Alfaro
2025-07-20 23:15:57 +02:00
parent daab1b77e1
commit 38e78e7163
5 changed files with 34 additions and 60 deletions

View File

@@ -87,7 +87,7 @@ class BaseServiceSettings(BaseSettings):
# ================================================================
# JWT Configuration
JWT_SECRET_KEY: str = os.getenv("JWT_SECRET_KEY", "change-this-in-production")
JWT_SECRET_KEY: str = os.getenv("JWT_SECRET_KEY", "your-super-secret-jwt-key-change-in-production-min-32-characters-long")
JWT_ALGORITHM: str = os.getenv("JWT_ALGORITHM", "HS256")
JWT_ACCESS_TOKEN_EXPIRE_MINUTES: int = int(os.getenv("JWT_ACCESS_TOKEN_EXPIRE_MINUTES", "30"))
JWT_REFRESH_TOKEN_EXPIRE_DAYS: int = int(os.getenv("JWT_REFRESH_TOKEN_EXPIRE_DAYS", "7"))