From 5f9f4ff97c27a0f34a86eec516ab3f58faf5937e Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 23 May 2023 09:34:19 +0300 Subject: 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" --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.py') 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"},) -- cgit v1.2.3