diff --git a/backend/src/api/auth.ts b/backend/src/api/auth.ts index effd0c77..86fcfc4b 100644 --- a/backend/src/api/auth.ts +++ b/backend/src/api/auth.ts @@ -115,6 +115,8 @@ export function initAuth(router: express.Router) { "/auth/new-login", (req: Request, res: Response) => { res.cookie("redir", `${env.DASHBOARD_URL}/new/login-callback/`, { httpOnly: true }); + + res.sendStatus(200); }, passport.authenticate("oauth2"), );