From e102579d48bf022c3d75b4aa7d63d4c5b8a4efe3 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 9 Oct 2024 16:09:17 -0500 Subject: Update application's allowed scopes The `register-client` and `migrate-data` scopes are not supported for end-user clients. --- gn2/wqflask/oauth2/client.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gn2/wqflask/oauth2/client.py b/gn2/wqflask/oauth2/client.py index 3ee1c36f..a7b0099c 100644 --- a/gn2/wqflask/oauth2/client.py +++ b/gn2/wqflask/oauth2/client.py @@ -17,8 +17,7 @@ from authlib.integrations.requests_client import OAuth2Session from gn2.wqflask.oauth2 import session from gn2.wqflask.external_errors import ExternalRequestError -SCOPE = ("profile group role resource register-client user masquerade " - "introspect migrate-data") +SCOPE = ("profile group role resource user masquerade introspect") def authserver_uri(): """Return URI to authorisation server.""" -- cgit v1.2.3