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

ego token in cookie session #189

Open
leoraba opened this issue Oct 5, 2023 · 1 comment
Open

ego token in cookie session #189

leoraba opened this issue Oct 5, 2023 · 1 comment
Assignees

Comments

@leoraba
Copy link
Contributor

leoraba commented Oct 5, 2023

Issue:

Currently ego token is stored in browser's local storage which may be vulnerable as is readable by any Javascript code that runs on the site.

Solution:

  • Store ego token as session cookie, which is readably only by the server.
  • Make use of next-auth library
@leoraba leoraba self-assigned this Oct 5, 2023
@leoraba
Copy link
Contributor Author

leoraba commented Oct 16, 2023

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

No branches or pull requests

1 participant