From cf06cd9aa22d545c6b53b2689062ef8d8383813d Mon Sep 17 00:00:00 2001 From: Amazingca Date: Thu, 14 Aug 2025 15:33:03 -0600 Subject: [PATCH] fix: Update SSO login flow to encode redirect_uri 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;