Skip to content

docs(identityserver): clarify refresh token replay handling with DPoP and mTLS - #1333

Draft
maartenba wants to merge 3 commits into
mainfrom
mb/senderconstrainedrefresh
Draft

maartenba wants to merge 3 commits into
mainfrom
mb/senderconstrainedrefresh

Conversation

@maartenba

Copy link
Copy Markdown
Member

No description provided.

@maartenba maartenba added this to the 2026-Q4 milestone Nov 20, 2026
@maartenba
maartenba requested review from a team, ProgrammerAL, josephdecock, khalidabuhakmeh and wcabus and a balanced review from Copilot November 20, 2026 07:44
@maartenba maartenba self-assigned this Nov 20, 2026
@maartenba maartenba added the documentation Improvements or additions to documentation label Nov 20, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The refresh-token warning needs qualification because an old token alone is insufficient when the bound mTLS certificate also authenticates the client.

1 open issue
What changed in this PR

This documentation update clarifies refresh-token replay handling with DPoP and mTLS, including where to place revocation logic relative to token-binding validation.

Changes:

  • Adds a warning about revoking access from AcceptConsumedTokenAsync.
  • Describes using ICustomTokenRequestValidator to handle consumed tokens after key validation.
  • Links the v7 and v8 refresh-token service references to the replay-detection guidance.
File Description
astro/​src/​content/​docs/​identityserver/​tokens/​refresh.mdx Adds the warning and post-validation revocation guidance.
astro/​src/​content/​docs/​identityserver/​reference/​v8/​services/​refresh-token-service.md Adds a key-validation caveat and links to replay guidance.
astro/​src/​content/​docs/​identityserver/​reference/​v7/​services/​refresh-token-service.md Adds the same caveat and guidance link for v7.

Review effort: Balanced

@josephdecock josephdecock left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please wait to publish this until we decide if there will be a security advisory for this issue.

@maartenba
maartenba force-pushed the mb/senderconstrainedrefresh branch from b51c0d9 to ab0b151 Compare November 26, 2026 10:25
maartenba and others added 3 commits November 26, 2026 14:56
Clarified the conditions under which revoking access with DPoP or mTLS occurs, emphasizing the importance of client authentication.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@maartenba
maartenba force-pushed the mb/senderconstrainedrefresh branch from ab0b151 to ddf9765 Compare November 26, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants