aboutsummaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-03-06 14:57:53 +0300
committerFrederick Muriuki Muriithi2023-03-06 14:57:53 +0300
commit98e93be1b8e5353656e18f1452026db6f2902e6c (patch)
tree2547ab9284e1a1718b35faf92d8aa68e9d42b283 /main.py
parent4fc72af7e851f12a9f4edc98b0a55c66c9bf1b13 (diff)
downloadgenenetwork3-98e93be1b8e5353656e18f1452026db6f2902e6c.tar.gz
auth: resources: Enable assigning a user roles on resources
Diffstat (limited to 'main.py')
-rw-r--r--main.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.py b/main.py
index 2a47dbb..6dadac2 100644
--- a/main.py
+++ b/main.py
@@ -81,7 +81,8 @@ 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", "group", "role", "resource", "register-client"]
+ "scope": ["profile", "group", "role", "resource", "register-client",
+ "user"]
}),
"user_id": "0ad1917c-57da-46dc-b79e-c81c91e5b928"},)