There is a way to override the default, generic sign in and out pages. Both pages could actually just pass the user through as Auth0 is the only login method and logging out doesn't really need confirmation since logging back in is really easy...
I suppose I should make the <LoginPrompt /> the sign-in page and just redirect users when not authorized instead of placing it in the layout.
Acceptance Criteria
[ ] Add Login page from LoginPrompt
[ ] Redirect users if not logged in within getServersideProps
https://github.com/nextauthjs/next-auth/blob/canary/pages/api/auth/%5B...nextauth%5D.js#L64
There is a way to override the default, generic sign in and out pages. Both pages could actually just pass the user through as Auth0 is the only login method and logging out doesn't really need confirmation since logging back in is really easy...
I suppose I should make the
<LoginPrompt />
the sign-in page and just redirect users when not authorized instead of placing it in the layout.Acceptance Criteria