diff options
Diffstat (limited to 'gn3/settings.py')
-rw-r--r-- | gn3/settings.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gn3/settings.py b/gn3/settings.py index 5fec562..70af723 100644 --- a/gn3/settings.py +++ b/gn3/settings.py @@ -67,3 +67,7 @@ MULTIPROCESSOR_PROCS = 6 # Number of processes to spawn AUTH_MIGRATIONS = "migrations/auth" AUTH_DB = os.environ.get( "AUTH_DB", f"{os.environ.get('HOME')}/genenetwork/gn3_files/db/auth.db") + +## OAuth2 Settings +OAUTH2_ACCESS_TOKEN_GENERATOR = os.environ.get( + "OAUTH2_ACCESS_TOKEN_GENERATOR", True) |