Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Route validator #49

Open
Zio-4 opened this issue Oct 23, 2022 · 1 comment
Open

Route validator #49

Zio-4 opened this issue Oct 23, 2022 · 1 comment
Labels

Comments

@Zio-4
Copy link
Contributor

Zio-4 commented Oct 23, 2022

Task Description
Create a function to take in a route handler function. This function will take in the request and response from the route handler function and check if the request has a jwt and is valid. If the jwt is not valid or does not exist then route the user to the sign in page on the front.

Technical Considerations
Do this after sign in functionality is working on the frontend and backend to avoid slowing down development.

Additional Considerations
Any supplemental information including unresolved questions, links to external resources, screenshots, etc.

@Zio-4 Zio-4 added the task label Oct 23, 2022
@RParkerM
Copy link
Contributor

This is mostly done, we just need to add in the re-direct functionality.
I removed the authentication necessary to list menu items so we can check them from the front-end without signing in for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants