From f01f10c5e5fff2dab72a7f66a0d6113d322cff53 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 7 Aug 2022 13:15:12 +0200 Subject: [PATCH] providers/oauth2: don't separate scopes by comma-space Signed-off-by: Jens Langhammer --- authentik/providers/oauth2/views/authorize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/providers/oauth2/views/authorize.py b/authentik/providers/oauth2/views/authorize.py index 7362b2d26..37eb2ab37 100644 --- a/authentik/providers/oauth2/views/authorize.py +++ b/authentik/providers/oauth2/views/authorize.py @@ -457,7 +457,7 @@ class OAuthFulfillmentStage(StageView): EventAction.AUTHORIZE_APPLICATION, authorized_application=self.application, flow=self.executor.plan.flow_pk, - scopes=", ".join(self.params.scope), + scopes=" ".join(self.params.scope), ).from_http(self.request) return self.redirect(self.create_response_uri()) except (ClientIdError, RedirectUriError) as error: