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

Add route protection to /create page by checking the token from localstorage/cookies using the /verify route on api #15

Open
dead8309 opened this issue Oct 14, 2024 · 1 comment
Assignees
Labels
feature hacktoberfest For participants of hacktoberfest security Security-related enhancements or fixes

Comments

@dead8309
Copy link
Collaborator

dead8309 commented Oct 14, 2024

Implement route protection for the /create page by validating the token stored in local storage/cookies using the /verify API route. Redirect users if not authenticated.

Reference: Route Protection Guide

@dead8309 dead8309 added feature hacktoberfest For participants of hacktoberfest security Security-related enhancements or fixes labels Oct 14, 2024
@Ankesh2004
Copy link
Contributor

Hey @dead8309 please assign me this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature hacktoberfest For participants of hacktoberfest security Security-related enhancements or fixes
Projects
None yet
Development

No branches or pull requests

2 participants