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

Switch to cookie for storing token #332

Open
chadweimer opened this issue Jun 25, 2022 · 1 comment
Open

Switch to cookie for storing token #332

chadweimer opened this issue Jun 25, 2022 · 1 comment

Comments

@chadweimer
Copy link
Owner

Storing the jwt in local storage is not secure. For a recipe site, probably not a major concern, but using a same site, httponly cookie would be better.

Useful links:

@chadweimer
Copy link
Owner Author

The server side of this is really easy. I made an initial attempt and the sticking point is a better way to track logged in state on the client, which I am sure there's a pretty standard way of doing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant