aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/settings.py
blob: 71ffd5d20171897916f064a7c94c55b72f8a3c93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
"""Default application settings."""
import os

# LOGLEVEL
LOGLEVEL = "WARNING"

# Flask settings
SECRET_KEY = ""

# Database settings
SQL_URI = "mysql://webqtlout:webqtlout@localhost/db_webqtl"
AUTH_DB = f"{os.environ.get('HOME')}/genenetwork/gn3_files/db/auth.db"
AUTH_MIGRATIONS = "migrations/auth"

# OAuth2 settings
OAUTH2_SCOPE = (
    "profile", "group", "role", "resource", "user", "masquerade",
    "introspect")