Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/runtime/server/lib/oauth/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export function githubEventHandler({ config, onSuccess, onError }: OAuthConfig<O
withQuery(config.authorizationURL as string, {
client_id: config.clientId,
redirect_uri: redirectUrl,
scope: config.scope.join('%20')
scope: config.scope.join(' ')
})
)
}
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/server/lib/oauth/microsoft.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export function microsoftEventHandler({ config, onSuccess, onError }: OAuthConfi
client_id: config.clientId,
response_type: 'code',
redirect_uri: redirectUrl,
scope: scope.join('%20'),
scope: scope.join(' '),
})
)
}
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/server/lib/oauth/spotify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export function spotifyEventHandler({ config, onSuccess, onError }: OAuthConfig<
response_type: 'code',
client_id: config.clientId,
redirect_uri: redirectUrl,
scope: config.scope.join('%20')
scope: config.scope.join(' ')
})
)
}
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/server/lib/oauth/twitch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export function twitchEventHandler({ config, onSuccess, onError }: OAuthConfig<O
response_type: 'code',
client_id: config.clientId,
redirect_uri: redirectUrl,
scope: config.scope.join('%20')
scope: config.scope.join(' ')
})
)
}
Expand Down