feat: github login added

This commit is contained in:
Balu Babu
2023-01-13 02:11:42 +05:30
parent 1f581e7b51
commit 311ab67ebe
6 changed files with 91 additions and 2 deletions

View File

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