MLSAKIIT/devblogs-frontend
Add route protection to /create page by checking the token from localstorage/cookies using the /verify route on api
Offen
#15 geöffnet am 14.10.2024
featurehacktoberfestsecurity
Repository-Metriken
- Stars
- (9 Sterne)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
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