aboutsummaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-05-23 09:34:19 +0300
committerFrederick Muriuki Muriithi2023-05-23 09:43:44 +0300
commit5f9f4ff97c27a0f34a86eec516ab3f58faf5937e (patch)
treedc5cd21f7257c988f5f5b02e5e0e11852c56124d /main.py
parent589be0fd6dfd1cbcf091c0814d5e9c86c3ca33ad (diff)
downloadgenenetwork3-5f9f4ff97c27a0f34a86eec516ab3f58faf5937e.tar.gz
auth: Enable user masquerade
Enable users with the appropriate privileges to masquerade as other users by providing an endpoint that provides a new token for the "masqueradee"
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 3c4b146..4a65db4 100644
--- a/main.py
+++ b/main.py
@@ -80,7 +80,7 @@ def init_dev_clients():
"http://localhost:5033/oauth2/token"],
"response_type": ["code", "token"],
"scope": ["profile", "group", "role", "resource", "register-client",
- "user", "migrate-data", "introspect"]
+ "user", "masquerade", "migrate-data", "introspect"]
}),
"user_id": "0ad1917c-57da-46dc-b79e-c81c91e5b928"},)