Feature Description
Currently, we have a nonfunctioning auth0 file. We need to be able to actually use the auth0 extension as well as load logged in user information.
Requirements
login API route that redirects users to the Auth0 login page
callback API route that handles Auth0 redirecting the user back to us - extract the token, set user information and token in the cookies
logout API route that redirects users to the Auth0 logout URL
logout complete API route that handles redirecting back to us after Auth0 logout
middleware that checks for existence & validity of the token
other API routes need to load user information to check role authorization
frontend needs to load user information from cookies to control UI
Additional context
See #5 for some additional background on the authentication/authorization needs.
See carsons village & taz for additional background
Feature Description Currently, we have a nonfunctioning auth0 file. We need to be able to actually use the auth0 extension as well as load logged in user information.
Requirements
Additional context See #5 for some additional background on the authentication/authorization needs. See carsons village & taz for additional background