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: