diff --git a/server/src/routes/auth.ts b/server/src/routes/auth.ts index 406448fe..ec62404f 100644 --- a/server/src/routes/auth.ts +++ b/server/src/routes/auth.ts @@ -252,8 +252,6 @@ router.get('/google/callback', requireSignIn, async (req, res) => { const jwtToken = jwt.sign({ userId: user.id }, process.env.JWT_SECRET as string, { expiresIn: '12h' }); res.cookie('token', jwtToken, { httpOnly: true }); - res.redirect('http://localhost:3000'); - res.json({ message: 'Google authentication successful', google_sheet_email: robot.google_sheets_email,