From fc6a4bfe15acbadb5d642f071f5dd50593b62060 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Fri, 20 Feb 2026 19:39:23 +0530 Subject: [PATCH] fix: url endpoint --- app/javascript/v3/components/GoogleOauth/Button.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/javascript/v3/components/GoogleOauth/Button.vue b/app/javascript/v3/components/GoogleOauth/Button.vue index 2d1fc5a4e..be387ddbe 100644 --- a/app/javascript/v3/components/GoogleOauth/Button.vue +++ b/app/javascript/v3/components/GoogleOauth/Button.vue @@ -6,8 +6,7 @@ export default { // Creating the URL manually because the devise-token-auth with // omniauth has a standing issue on redirecting the post request // https://github.com/lynndylanhurley/devise_token_auth/issues/1466 - const baseUrl = - 'https://accounts.google.com/o/oauth2/auth/oauthchooseaccount'; + const baseUrl = 'https://accounts.google.com/o/oauth2/auth'; const clientId = window.chatwootConfig.googleOAuthClientId; const redirectUri = window.chatwootConfig.googleOAuthCallbackUrl; const responseType = 'code';