Skip to content

feat: store sensitive auth utilities like token in cookies #97

@Ndevu12

Description

@Ndevu12

Problem Statement / User Need

Currently, the frontend system stores tokens and auth utilities in the localStorage, which is considered to be the least secure approach

Proposed Solution

Store auth utilities like a token and user essential info in cookies instead

Roadmap Phase

  • — Set up client-server to support cookies
  • — change the client's auth system to use cookies instead

Alternatives Considered

The existing localStorage auth-based implementation or use in-memory caching for the token, but it leads to over-fetching because the user loses auth whenever the page reloads

Additional Context

none

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions