Skip to content

Scheduling infrastructure for absolutely everyone.

fix: inviting a team member dosent work when he login in via Google (#11312)

Somay Chauhanb15ad6f23332
diff --git a/apps/web/pages/auth/login.tsx b/apps/web/pages/auth/login.tsx
index 3ea55fa1b86..9df9c88c70f 100644
--- a/apps/web/pages/auth/login.tsx
+++ b/apps/web/pages/auth/login.tsx
@@ -249,7 +249,9 @@ inferSSRProps<typeof getServerSideProps> & WithNonceProps<{}>) {
CustomStartIcon={<GoogleIcon />}
onClick={async (e) => {
e.preventDefault();
- await signIn("google");
+ await signIn("google", {
+ callbackUrl,
+ });
}}>
{t("signin_with_google")}
</Button>