From fb5eb7b86887e8f7e282281a1def6372503c31d7 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 18 Aug 2022 14:34:17 +0200 Subject: [PATCH] sources/oauth: fix missing doseq param for updating URL query string closes #3374 Signed-off-by: Jens Langhammer --- authentik/sources/oauth/clients/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/sources/oauth/clients/base.py b/authentik/sources/oauth/clients/base.py index 994f1f28b..4ae0023d4 100644 --- a/authentik/sources/oauth/clients/base.py +++ b/authentik/sources/oauth/clients/base.py @@ -72,7 +72,7 @@ class BaseOAuthClient: # Special handling for scope, since it's set as array # to make additional scopes easier args["scope"] = " ".join(sorted(set(args["scope"]))) - params = urlencode(args, quote_via=quote) + params = urlencode(args, quote_via=quote, doseq=True) LOGGER.info("redirect args", **args) return urlunparse(parsed_url._replace(query=params))