Coding-Coach / Coding-Coach/find-a-mentor

Move auth details from localStorage to cookies

Open
#921 1 comment 0 reactions 0 assignees View on GitHub
level: player
Dominant language
TypeScript
Stars
753
Forks
417
PR merge metrics
No merged PRs in 30d

Description

Now that we fetch data from nextjs server, we need the auth details (token) to be available in the server too.
The way to do it is to move this data from localStorage to cookie.

There is no impact on the user once this is done but it allow us to give better user experience and reduce server calls.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.