refactor build-oauth-url params

This commit is contained in:
Ramnique Singh 2026-02-21 22:59:16 +05:30
parent a358ae7051
commit f5d585ac7e
2 changed files with 4 additions and 12 deletions

View file

@ -179,9 +179,9 @@ export async function connectProvider(provider: string, clientId?: string): Prom
// Build authorization URL
const authUrl = oauthClient.buildAuthorizationUrl(config, {
redirectUri: REDIRECT_URI,
redirect_uri: REDIRECT_URI,
scope: scopes.join(' '),
codeChallenge,
code_challenge: codeChallenge,
state,
});