-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathconfig.py
More file actions
15 lines (13 loc) · 649 Bytes
/
config.py
File metadata and controls
15 lines (13 loc) · 649 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import os
# A secret key for the Flask app, used for session management
APP_SECRET_KEY = (
os.getenv("APP_SECRET_KEY") or b"1234567890abcdef"
) # Replace with your own secret key
LOGTO_ENDPOINT = os.getenv("LOGTO_ENDPOINT") or "replace-with-your-logto-endpoint"
LOGTO_APP_ID = os.getenv("LOGTO_APP_ID") or "replace-with-your-app-id"
LOGTO_APP_SECRET = os.getenv("LOGTO_APP_SECRET") or "replace-with-your-app-secret"
LOGTO_REDIRECT_URI = os.getenv("LOGTO_REDIRECT_URI") or "replace-with-your-redirect-uri"
LOGTO_POST_LOGOUT_REDIRECT_URI = (
os.getenv("LOGTO_POST_LOGOUT_REDIRECT_URI")
or "replace-with-your-post-logout-redirect-uri"
)