Skip to content

Harden refresh token rotation for client retries#20

Merged
dsghi merged 1 commit intomainfrom
codex/refresh-token-replay-hardening
May 4, 2026
Merged

Harden refresh token rotation for client retries#20
dsghi merged 1 commit intomainfrom
codex/refresh-token-replay-hardening

Conversation

@dsghi
Copy link
Copy Markdown
Contributor

@dsghi dsghi commented May 4, 2026

Summary

  • Harden OAuth refresh token rotation with a short idempotent replay marker for client retry/restart races.
  • Preserve legitimate refresh tokens on wrong-client attempts and slide upstream vault TTL on successful refresh/replay.
  • Document the Codex retry behavior, dependency audit commands, PR Bump Microsoft.AspNetCore.DataProtection and System.Security.Cryptography.Xml #19 DataProtection context, and ignore local .serena/ metadata.
  • Patch Azure DataProtection helper packages to latest patch versions and update stale package comments.

Validation

  • git diff --check
  • dotnet test devbrain.slnx
  • dotnet list devbrain.slnx package --vulnerable --include-transitive
  • dotnet list devbrain.slnx package --outdated --highest-patch

@dsghi dsghi merged commit 3617418 into main May 4, 2026
4 checks passed
@dsghi dsghi deleted the codex/refresh-token-replay-hardening branch May 4, 2026 06:11
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.

1 participant