google login works

This commit is contained in:
2026-01-21 03:09:38 +10:30
parent e7c2c873c2
commit e854bf801e
3 changed files with 163 additions and 239 deletions
-4
View File
@@ -377,10 +377,6 @@ export default function LoginPage() {
// Redirect to provider authorization page
const authUrl = new URL(response.authorization_url);
authUrl.searchParams.set('state', response.state || state);
// Add PKCE parameters
authUrl.searchParams.set('code_challenge', codeChallenge);
authUrl.searchParams.set('code_challenge_method', 'S256');
window.location.href = authUrl.toString();