fix: Update SSO login flow to encode redirect_uri

Signed-off-by: Amazingca <autumn@amazingca.dev>
This commit is contained in:
Amazingca 2025-08-14 15:33:03 -06:00
parent a9508b2546
commit cf06cd9aa2
No known key found for this signature in database
GPG Key ID: 5F064F79C97E3F2B
1 changed files with 1 additions and 1 deletions

View File

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