MLSAKIIT/devblogs-frontend

Integrate /login route from api on /login page and store the token on localstorage or cookies

Open

#12 opened on Oct 14, 2024

 (1 comment) (0 reactions) (1 assignee)JavaScript (20 forks)auto 404
authenticationfeaturehacktoberfest

Repository metrics

Stars
 (9 stars)
PR merge metrics
 (PR metrics pending)

Description

Set up the login page to integrate the /login API route. Store the returned token securely in local storage or cookies for subsequent API calls.

Reference: React Authentication Guide

Contributor guide