MLSAKIIT/devblogs-frontend
Add route protection to /create page by checking the token from localstorage/cookies using the /verify route on api
オープン
#15 opened on 2024/10/14
featurehacktoberfestsecurity
Repository metrics
- Stars
- (9 個のスター)
- PR merge metrics
- (PR metrics pending)
説明
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