-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsettings-template.py
More file actions
28 lines (20 loc) · 842 Bytes
/
settings-template.py
File metadata and controls
28 lines (20 loc) · 842 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# database connection parameters
# template for settings.py
# CAUTION: exclude settings.py from versioning in .gitignore
HOST = "YourHostname"
USER = "YourUsername"
PASSWD = "YourPassword"
DB = "YourDatabase"
# keys
PASSWORD = b"YourPassword"
PRIVATE_KEY = b"""YourPrivateKey"""
PUBLIC_KEY = b"""YourPublicKEY"""
# Google Auth-Client
GOOGLE_CLIENT_ID = "YourGoogleAuthClientID"
GOOGLE_CLIENT_KEY = "YourGoogleAuthClientKey"
GOOGLE_DISCOVERY_URL = ("https://accounts.google.com/.well-known/openid-configuration")
EXPIRY_TIME_SECONDS = 60
# Passkey-Login
DOMAIN = "YourDomain" # set to your domain (e.g. example.com) or localhost for testing
ORIGIN = "https://YourOrigin:YourPort" # set to your origin (e.g. https://example.com) or https://localhost:5000 for testing
DEBUG_MODE = True # disable DEBUG_MODE in productive environment