CUCentralAdvancement / cms

The Central Advancement Content Management System
MIT License
0 stars 0 forks source link

Add Sign In/Out Pages #33

Closed alexfinnarn closed 3 years ago

alexfinnarn commented 3 years ago

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

alexfinnarn commented 3 years ago

Basic login and logout in Rails CMS