From b15ad6f2333224cad969d1043a68866f10e3ed6e Mon Sep 17 00:00:00 2001 From: Somay Chauhan Date: Tue, 4 Jun 2024 13:24:26 +0530 Subject: [PATCH] fix: inviting a team member dosent work when he login in via Google (#11312) Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com> --- apps/web/pages/auth/login.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/web/pages/auth/login.tsx b/apps/web/pages/auth/login.tsx index 3ea55fa1b8..9df9c88c70 100644 --- a/apps/web/pages/auth/login.tsx +++ b/apps/web/pages/auth/login.tsx @@ -249,7 +249,9 @@ inferSSRProps & WithNonceProps<{}>) { CustomStartIcon={} onClick={async (e) => { e.preventDefault(); - await signIn("google"); + await signIn("google", { + callbackUrl, + }); }}> {t("signin_with_google")}