fix: Update SSO login flow to encode redirect_uri (#5006)

Signed-off-by: Amazingca <autumn@amazingca.dev>
This commit is contained in:
Amazingca 2025-08-14 18:45:19 -06:00 committed by GitHub
parent a9508b2546
commit a3add85c95
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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;