aboutsummaryrefslogtreecommitdiff
path: root/gn2
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-10-09 16:09:17 -0500
committerFrederick Muriuki Muriithi2024-10-09 16:10:58 -0500
commite102579d48bf022c3d75b4aa7d63d4c5b8a4efe3 (patch)
tree1851f623ac236312ce1f029513cbafec52e4bbf2 /gn2
parentde0a270f31f4527f94b55872a0db7afd82e4f002 (diff)
downloadgenenetwork2-e102579d48bf022c3d75b4aa7d63d4c5b8a4efe3.tar.gz
Update application's allowed scopes
The `register-client` and `migrate-data` scopes are not supported for end-user clients.
Diffstat (limited to 'gn2')
-rw-r--r--gn2/wqflask/oauth2/client.py3
1 files changed, 1 insertions, 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."""