Skip to content

ego token in cookie session #189

@leoraba

Description

@leoraba

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions