Skip to content

Refresh access token (silent) #2068

@geolunalg

Description

@geolunalg

Overview

User Story:
As a user, I want my session to continue seamlessly when my access token expires.

Action Items

User Story:
As a user, I want my session to continue seamlessly when my access token expires.
Acceptance Criteria:

  • When access token is expired and API returns 401, client calls POST /auth/refresh.
  • Backend reads refresh token from cookie and:
    • if valid: returns a new access token
    • if invalid/expired: returns 401 and client routes to login
  • Client retries the original request once after successful refresh.

Resources/Instructions

Metadata

Metadata

Assignees

Type

No type

Projects

Status

In progress

Relationships

None yet

Development

No branches or pull requests

Issue actions