From bd99071174bfa80d179dd32673200f51000b86b5 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 4 Aug 2023 12:49:40 +0300 Subject: Initialise the application and update some module imports --- gn_auth/settings.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 gn_auth/settings.py (limited to 'gn_auth/settings.py') 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") -- cgit v1.2.3