Skip to content

ego token in cookie session #189

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

Activity

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

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