wip
This commit is contained in:
@@ -3,12 +3,11 @@ import os
|
||||
ISSUER: str = os.getenv('ISSUER') # type: ignore
|
||||
|
||||
OAUTH2_TABLE: str = os.getenv('OAUTH2_TABLE') # type: ignore
|
||||
DYNAMODB_SORT_KEY = os.getenv('DYNAMODB_SORT_KEY')
|
||||
|
||||
OAUTH2_SCOPES_SUPPORTED = os.getenv('OAUTH2_SCOPES_SUPPORTED')
|
||||
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
|
||||
|
||||
REFRESH_TOKEN_EXP_SECONDS = 7 * 86400 # 7 days
|
||||
ACCESS_TOKEN_EXP_SECONDS = 3600 # 1 hour
|
||||
REFRESH_TOKEN_EXP_SECONDS = 14 * 86400 # 14 days
|
||||
|
||||
Reference in New Issue
Block a user