From f64441466647e70a4526febc63d55da6c4d27447 Mon Sep 17 00:00:00 2001 From: JT Toce Date: Fri, 29 Dec 2023 16:19:50 -0600 Subject: [PATCH] Removed space in outh.authorize_url to construct valid URL --- src/webflow/oauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webflow/oauth.py b/src/webflow/oauth.py index 4de369b..99f7e90 100644 --- a/src/webflow/oauth.py +++ b/src/webflow/oauth.py @@ -58,7 +58,7 @@ def authorize_url( if scope is not OMIT and isinstance(scope, str): params["scope"] = scope.value elif scope is not OMIT: - params["scope"] = ", ".join([s.value for s in scope]) # type: ignore + params["scope"] = ",".join([s.value for s in scope]) # type: ignore return f"https://webflow.com/oauth/authorize?{urllib.parse.urlencode(params)}"