From 89aa2d0cfc289f70dc0b590025ff772f5b003dc7 Mon Sep 17 00:00:00 2001 From: Nathan Date: Thu, 25 Jun 2026 19:18:37 +0800 Subject: [PATCH] chore: use prompt --- src/application/services/js-services/http/gotrue.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/application/services/js-services/http/gotrue.ts b/src/application/services/js-services/http/gotrue.ts index 0486f88f..8f669d61 100644 --- a/src/application/services/js-services/http/gotrue.ts +++ b/src/application/services/js-services/http/gotrue.ts @@ -468,7 +468,7 @@ export function signInGoogle(authUrl: string) { const provider = 'google'; const redirectTo = encodeURIComponent(authUrl); const baseURL = axiosInstance?.defaults.baseURL; - const url = `${baseURL}/authorize?provider=${provider}&redirect_to=${redirectTo}`; + const url = `${baseURL}/authorize?provider=${provider}&redirect_to=${redirectTo}&prompt=consent`; Log.info('[Auth] signInGoogle: redirecting to Google OAuth'); redirectToAuthProvider(url);