Skip to content

Refresh browser sessions after the access cookie expires #47

Description

@adrianwebb

The managed Admin middleware returns anonymous immediately when the short-lived access-token cookie has expired and disappeared, even when the rotating HttpOnly refresh cookie is still valid. Long-running Reviewer campaigns therefore fall back to sign-in instead of refreshing.

Acceptance:

  • missing access + valid refresh rotates credentials once and reloads /v1/me;
  • invalid/replayed refresh clears both cookies;
  • active account/team browser campaign remains authenticated beyond the access-token lifetime;
  • tokens remain HttpOnly and redacted.

Discovered through the exact generation 75 Reviewer campaign for Platform #161.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    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