fix: not be able to login with Google in desktop (#4093)
This commit is contained in:
@@ -9,7 +9,9 @@ export const signInCloud: typeof signIn = async (provider, ...rest) => {
|
|||||||
if (isDesktop) {
|
if (isDesktop) {
|
||||||
if (provider === 'google') {
|
if (provider === 'google') {
|
||||||
open(
|
open(
|
||||||
`/desktop-signin?provider=google&callback_url=${buildCallbackUrl(
|
`${
|
||||||
|
runtimeConfig.serverUrlPrefix
|
||||||
|
}/desktop-signin?provider=google&callback_url=${buildCallbackUrl(
|
||||||
'/open-app/oauth-jwt'
|
'/open-app/oauth-jwt'
|
||||||
)}`,
|
)}`,
|
||||||
'_target'
|
'_target'
|
||||||
|
|||||||
Reference in New Issue
Block a user