-
Notifications
You must be signed in to change notification settings - Fork 416
Add Support nested act claim with azp and multi-audience in token request #3028
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Bin4yi
wants to merge
23
commits into
wso2-extensions:master
Choose a base branch
from
Bin4yi:act-sub-azp
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
dbf8887
Support audince parameter in token request to support multiple audien…
Bin4yi 8cda162
Supports nested act sub claim with azp claim inside it
Bin4yi e0f979c
defined constants for the string literals
Bin4yi 7a55608
defined constants for the string literals and remove explicit null ch…
Bin4yi de9aeff
introduce "DELEGATING_ACTOR" constant to the delegation flow
Bin4yi 1c4b0e8
refactor the code by combining selfDelegation and Delegation flows
Bin4yi 51eef55
Merge branch 'audience-validation' into act-sub-azp
Bin4yi 7700b80
merge audience-validation branch into act-sub-azp branch
Bin4yi 45d0f85
Apply suggestion from @pavinduLakshan
Bin4yi c9b9537
added tests
Bin4yi 697e0a3
added tests
Bin4yi 2a1ab5a
added tests
Bin4yi 00f0aa1
refactor ActorTokenValidator function
Bin4yi 6abcc16
refactor ActorTokenValidator function
Bin4yi 5678abd
Merge branch 'master' into act-sub-azp
Bin4yi 8d217e5
merge the file ActorTokenValidator.java from git
Bin4yi 6701453
refactor ActorTokenValidator.java file
Bin4yi 29afe65
fix checkstyle errors
Bin4yi 22de21d
fix checkstyle errors
Bin4yi 12d79b5
fix test error in AgentAccessTokenClaimProviderTest file
Bin4yi 1ec499b
used constants in OAuthConstants.java file
Bin4yi 5015add
refactor the code
Bin4yi edd02f8
refactor the code
Bin4yi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This branch overwrites the nested delegation chain.
JWTTokenIssuer.createJWTClaimSet(..)already builds the delegationactclaim fromACTOR_*plusEXISTING_ACT_CLAIM. Because provider claims are applied afterward inbuildJWTToken(..), this branch replaces it with a flat{sub, azp}and drops any incoming nestedact. Please add a regression test with an actor token that already containsact.🛠️ Minimal fix
Also applies to: 42-60
🤖 Prompt for AI Agents