dongheenam / maths-question-bank

This is a Next.js app that lets you search, edit, and store quality questions in Mathematics.
https://maths-question-bank.vercel.app
0 stars 1 forks source link

Implement authentication #2

Closed dongheenam closed 1 year ago

dongheenam commented 1 year ago

Implement an authentication system using NextAuth that allows users to sign in using their Microsoft account.

dongheenam commented 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.

dongheenam commented 1 year ago

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.