feat: microsoft SSO auth completed

This commit is contained in:
Balu Babu
2023-01-19 04:15:43 +05:30
parent 81cb0d43d7
commit c63bc28ca0
4 changed files with 13 additions and 5 deletions

View File

@@ -160,3 +160,8 @@ export const authCookieHandler = (
res.status(HttpStatus.OK).redirect('http://localhost:3170/graphql');
} else res.status(HttpStatus.OK).send();
};
export const checkNullability = (data: string | undefined | null) => {
if (!data) return null;
return data;
};