aboutsummaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-01-21 03:16:05 +0300
committerFrederick Muriuki Muriithi2023-01-21 03:16:05 +0300
commitda57ac8cb3daf5d14841c0c3b6d0261a49c69504 (patch)
tree9f46bfb3d9e05fc6ac347f56c5a3583f752a1c19 /main.py
parentb7b743001eae170792c5f533757fa40d86a9788a (diff)
downloadgenenetwork3-da57ac8cb3daf5d14841c0c3b6d0261a49c69504.tar.gz
auth: Fix saving of scope values. Add scope items.
Diffstat (limited to 'main.py')
-rw-r--r--main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py
index d55bd42..1c810a1 100644
--- a/main.py
+++ b/main.py
@@ -77,7 +77,7 @@ def init_dev_clients():
"default_redirect_uri": "http://localhost:5033/oauth2/code",
"redirect_uris": ["http://localhost:5033/oauth2/code"],
"response_type": "token", # choices: ["code", "token"]
- "scope": ["profile", "resource", "register-client"]
+ "scope": ["profile", "group", "role", "resource", "register-client"]
}),
"user_id": "0ad1917c-57da-46dc-b79e-c81c91e5b928"},)