25 lines
528 B
Python
25 lines
528 B
Python
import os
|
|
|
|
ISSUER: str = os.getenv('ISSUER') # type: ignore
|
|
USER_TABLE: str = os.getenv('USER_TABLE') # type: ignore
|
|
|
|
EMAIL_SENDER = ('EDUSEG®', 'noreply@eduseg.com.br')
|
|
OAUTH2_REFRESH_TOKEN_EXPIRES_IN = 86_400 * 7 # 7 days
|
|
OAUTH2_SCOPES_SUPPORTED: list[str] = [
|
|
'openid',
|
|
'profile',
|
|
'email',
|
|
'offline_access',
|
|
'apps:admin',
|
|
'apps:studio',
|
|
'apps:insights',
|
|
]
|
|
OAUTH2_DEFAULT_SCOPES = {
|
|
'email',
|
|
'offline_access',
|
|
'openid',
|
|
'profile',
|
|
}
|
|
|
|
SESSION_EXPIRES_IN = 86_400 * 30 # 30 days
|