Skip to content

feat(auth): implement refresh token rotation on use - #622

Merged
Jambox11 merged 2 commits into
mux-labs:stagingfrom
talatu4sambo-cmyk:feature/510-rotate-refresh-tokens-on-use-staging
Jul 25, 2026
Merged

feat(auth): implement refresh token rotation on use#622
Jambox11 merged 2 commits into
mux-labs:stagingfrom
talatu4sambo-cmyk:feature/510-rotate-refresh-tokens-on-use-staging

Conversation

@talatu4sambo-cmyk

Copy link
Copy Markdown

Summary

  • Rotate refresh tokens on each use and invalidate the prior token
  • Persist rotation state via Prisma schema

Validation

  • typecheck

Closes #510

abdegenius and others added 2 commits July 24, 2026 06:33
Add RefreshToken model with rotation chain tracking for automatic token rotation. Implement RefreshTokenService with create, rotate, validate and revocation operations. Add API endpoints for token rotation with usage tracking. Include comprehensive unit tests for refresh token lifecycle and rotation flows.

Closes mux-labs#510
@Jambox11
Jambox11 merged commit 17506aa into mux-labs:staging Jul 25, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rotate refresh tokens on use

3 participants