MLSAKIIT/devblogs-frontend

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

Aberta

#15 aberto em 14 de out. de 2024

 (1 comentário) (0 reação) (1 responsável)JavaScript (20 forks)auto 404
featurehacktoberfestsecurity

Métricas do repositório

Stars
 (9 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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

Guia do colaborador