Repository navigation
Conversation
maartenba
requested review from
a team,
ProgrammerAL,
josephdecock,
khalidabuhakmeh and
wcabus
and
a balanced review from Copilot
November 20, 2026 07:44
Contributor
There was a problem hiding this comment.
🟡 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
ICustomTokenRequestValidatorto 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
wcabus
approved these changes
Nov 20, 2026
josephdecock
requested changes
Nov 20, 2026
josephdecock
left a comment
Member
There was a problem hiding this comment.
Please wait to publish this until we decide if there will be a security advisory for this issue.
maartenba
force-pushed
the
mb/senderconstrainedrefresh
branch
from
November 26, 2026 10:25
b51c0d9 to
ab0b151
Compare
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
force-pushed
the
mb/senderconstrainedrefresh
branch
from
November 26, 2026 13:56
ab0b151 to
ddf9765
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

No description provided.