diff options
author | Frederick Muriuki Muriithi | 2023-05-23 09:34:19 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-05-23 09:43:44 +0300 |
commit | 5f9f4ff97c27a0f34a86eec516ab3f58faf5937e (patch) | |
tree | dc5cd21f7257c988f5f5b02e5e0e11852c56124d /main.py | |
parent | 589be0fd6dfd1cbcf091c0814d5e9c86c3ca33ad (diff) | |
download | genenetwork3-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.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"},) |