Files
saladeaula.digital/id.saladeaula.digital/app/config.py
2025-09-26 14:45:27 -03:00

13 lines
366 B
Python

import os
ISSUER: str = os.getenv('ISSUER') # type: ignore
OAUTH2_TABLE: str = os.getenv('OAUTH2_TABLE') # type: ignore
OAUTH2_SCOPES_SUPPORTED: str = os.getenv('OAUTH2_SCOPES_SUPPORTED', '')
JWT_SECRET: str = os.environ.get('JWT_SECRET') # type: ignore
JWT_ALGORITHM = 'HS256'
# JWT_EXP_SECONDS = 900 # 15 minutes
SESSION_EXPIRES_IN = 86400 * 30 # 30 days