Allow cross-client exchange of DPoP-bound tokens#51019
Open
arnabnandy7 wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Enables authorized cross-client exchange of DPoP-bound subject tokens while preserving proof-of-possession and audience requirements.
Changes:
- Relaxes the same-client restriction for DPoP-bound tokens.
- Adds cross-client exchange coverage.
- Updates security and upgrade documentation.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
StandardTokenExchangeProvider.java |
Implements cross-client DPoP exchange validation. |
DPoPTest.java |
Tests successful cross-client exchange. |
token-exchange.adoc |
Documents sender-constrained token rules. |
dpop.adoc |
Documents cross-client DPoP requirements. |
changes-26_8_0.adoc |
Adds an upgrade note. |
Permit a different authorized client to exchange a DPoP-bound subject token after validating proof of possession. Keep audience checks and non-DPoP sender constraints unchanged. Closes keycloak#51014 Signed-off-by: Arnab Nandy <arnab_nandy7@yahoo.com>
arnabnandy7
force-pushed
the
fix/dpop-cross-client-token-exchange
branch
from
July 19, 2026 16:50
2fcd3e7 to
44d5874
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.
Summary
Permit a different authorized client to exchange a DPoP-bound subject token after validating proof of possession.
The requester must remain within the subject token’s audience, and the supplied DPoP proof must match the token’s
cnf.jktbinding. Audience checks and restrictions for non-DPoP sender-constrained tokens remain unchanged.Testing
spotless:check.Closes #51014