feat: google sso auth added

This commit is contained in:
Balu Babu
2023-01-13 00:52:29 +05:30
parent 6f4c5d7195
commit f4df8873be
8 changed files with 181 additions and 54 deletions

View File

@@ -157,6 +157,6 @@ export const authCookieHandler = (
sameSite: 'lax',
});
if (redirect) {
res.status(HttpStatus.OK).redirect('/');
res.status(HttpStatus.OK).redirect('http://localhost:3000/');
} else res.status(HttpStatus.OK).send();
};