mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-16 18:25:17 +02:00
refactor build-oauth-url params
This commit is contained in:
parent
a358ae7051
commit
f5d585ac7e
2 changed files with 4 additions and 12 deletions
|
|
@ -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,
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue