1 parent 8376cfa commit 5837161Copy full SHA for 5837161
1 file changed
apps/backend/src/routes/auth.ts
@@ -35,7 +35,7 @@ router.get('/google/callback', async (req, res, next) => {
35
}
36
37
// Continue with normal authentication flow using passport
38
- passport.authenticate('google', { failureRedirect: `${FRONTEND_URL}/login?error=auth_failed` })(req, res, (err) => {
+ passport.authenticate('google', { failureRedirect: `${FRONTEND_URL}/login?error=auth_failed` })(req, res, (err: any) => {
39
if (err) {
40
return res.redirect(`${FRONTEND_URL}/login?error=server_error`);
41
0 commit comments