MLSAKIIT/devblogs-frontend
Add route protection to /create page by checking the token from localstorage/cookies using the /verify route on api
Open
#15 opened on Oct 14, 2024
featurehacktoberfestsecurity
Repository metrics
- Stars
- (9 stars)
- PR merge metrics
- (PR metrics pending)
Description
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