Skip to content

Commit 98125bf

Browse files
authored
chore: use prompt (#416)
1 parent 6feab98 commit 98125bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/application/services/js-services/http

src/application/services/js-services/http/gotrue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ export function signInGoogle(authUrl: string) {
468468
const provider = 'google';
469469
const redirectTo = encodeURIComponent(authUrl);
470470
const baseURL = axiosInstance?.defaults.baseURL;
471-
const url = `${baseURL}/authorize?provider=${provider}&redirect_to=${redirectTo}`;
471+
const url = `${baseURL}/authorize?provider=${provider}&redirect_to=${redirectTo}&prompt=consent`;
472472

473473
Log.info('[Auth] signInGoogle: redirecting to Google OAuth');
474474
redirectToAuthProvider(url);

0 commit comments

Comments
 (0)