From c7aa2ef757995e4b96d616033b0970ff58a7af24 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 7 Mar 2023 10:42:28 +0300 Subject: oauth2: Include 'user' in requested scopes. --- wqflask/wqflask/oauth2/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wqflask/wqflask/oauth2/client.py b/wqflask/wqflask/oauth2/client.py index 2bf3f94d..f712e54d 100644 --- a/wqflask/wqflask/oauth2/client.py +++ b/wqflask/wqflask/oauth2/client.py @@ -6,7 +6,7 @@ from pymonad.maybe import Just, Maybe, Nothing from pymonad.either import Left, Right, Either from authlib.integrations.requests_client import OAuth2Session -SCOPE = "profile group role resource register-client" +SCOPE = "profile group role resource register-client user" def oauth2_client(): config = app.config -- cgit v1.2.3