Unverified Commit a3add85c authored by Amazingca's avatar Amazingca Committed by GitHub

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

Signed-off-by: 's avatarAmazingca <autumn@amazingca.dev>
parent a9508b25
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment