Closed jonathan-chin closed 2 years ago
it seems NextJS supports this out of the box: https://nextjs.org/docs/authentication
This can be used to setup user authentication: https://next-auth.js.org/
since NextAuthJS lets us use third party providers, we won't have the traditional login/signup/reset password pages
working branch at jon-nextjs-nextauthjs
getStaticPageProps
in components(if we want to implement Email Provider, need to find a solution for adapters. usually, this means setting up middleware like prisma or sequelize. not sure if the labor investment is worth it at this time.)
39168d7 implemented necessary backend changes to support a custom providers page. still need to implement full designs once available.
implemented designs for login page. mostly good. things to look out for:
h1
tags in MUI theme.jon-nextjs-header-static
branch has a solution for accessing static props in components.
authguards shifted to next development cycle