diff options
Diffstat (limited to 'gn_auth/settings.py')
-rw-r--r-- | gn_auth/settings.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gn_auth/settings.py b/gn_auth/settings.py new file mode 100644 index 0000000..71ffd5d --- /dev/null +++ b/gn_auth/settings.py @@ -0,0 +1,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") |