Closed dongheenam closed 1 year ago
https://github.com/dongheenam/maths-question-bank/commit/170bd6204fb067e637d594ed2963b50ec032d632 Added NextAuth with Azure AD adapter and MongoDB connector. Still need to fix a couple of bugs.
https://github.com/dongheenam/maths-question-bank/commit/da5aec4fcbf7e6f34c352843b2586dc255ea2f90 NextAuth is still not compatible well enough with /app
directory, so the api endpoints should reside in /pages
for now.
Implement an authentication system using
NextAuth
that allows users to sign in using their Microsoft account.