sources/oauth: fix missing doseq param for updating URL query string

closes #3374

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-08-18 14:34:17 +02:00
parent bda218f7fc
commit fb5eb7b868
1 changed files with 1 additions and 1 deletions

View File

@ -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))