From a3add85c9593e769f3a40b786e6c752bd4635fe8 Mon Sep 17 00:00:00 2001 From: Amazingca <67606943+Amazingca@users.noreply.github.com> Date: Thu, 14 Aug 2025 18:45:19 -0600 Subject: [PATCH] fix: Update SSO login flow to encode redirect_uri (#5006) Signed-off-by: Amazingca --- web/src/pages/SignIn.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/pages/SignIn.tsx b/web/src/pages/SignIn.tsx index 76528ed8a..00e968559 100644 --- a/web/src/pages/SignIn.tsx +++ b/web/src/pages/SignIn.tsx @@ -48,7 +48,7 @@ const SignIn = observer(() => { } const authUrl = `${oauth2Config.authUrl}?client_id=${ oauth2Config.clientId - }&redirect_uri=${redirectUri}&state=${stateQueryParameter}&response_type=code&scope=${encodeURIComponent( + }&redirect_uri=${encodeURIComponent(redirectUri)}&state=${stateQueryParameter}&response_type=code&scope=${encodeURIComponent( oauth2Config.scopes.join(" "), )}`; window.location.href = authUrl;