Skip to content

Angular - Improve Authentication Token Handling #23930

@erdemcaygor

Description

@erdemcaygor

Currently, the access token is stored in localStorage, which makes it vulnerable to XSS attacks.
We should move to a safer approach like keeping the access token in memory and using an HttpOnly cookie for the refresh token to reduce security risks and improve overall session handling.

Related documentations;

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions