Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move auth details from localStorage to cookies #921

Open
moshfeu opened this issue Apr 8, 2022 · 1 comment
Open

Move auth details from localStorage to cookies #921

moshfeu opened this issue Apr 8, 2022 · 1 comment
Labels
level: player Medium level task - Usually require small code design / exploring tools skills

Comments

@moshfeu
Copy link
Member

moshfeu commented Apr 8, 2022

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.

@moshfeu moshfeu added the level: player Medium level task - Usually require small code design / exploring tools skills label Apr 8, 2022
@obafemitayor
Copy link

@moshfeu Could help take a look at this when you have the chance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level: player Medium level task - Usually require small code design / exploring tools skills
Projects
None yet
Development

No branches or pull requests

2 participants