Skip to content
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

Fix missing claims for federated users for jwt token issuers #2613

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

sandushi
Copy link
Contributor

Purpose

  • Fix the issue of missing claims for federated users for jwt token issuers.
  • To get the tokenID from the access token, we need to pass the jti of the jwt tokens.
  • From this PR, the changes are done for the jwt token to extract the jti value and pass it for the getTokenIdByAccessToken to - get the token id.

Related issue

wso2/product-is#21387

@jenkins-is-staging
Copy link

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/11623432184

Copy link

codecov bot commented Nov 1, 2024

Codecov Report

Attention: Patch coverage is 55.55556% with 4 lines in your changes missing coverage. Please review.

Project coverage is 56.06%. Comparing base (7acf35a) to head (70a2459).

Files with missing lines Patch % Lines
.../identity/oauth/cache/AuthorizationGrantCache.java 55.55% 3 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2613      +/-   ##
============================================
+ Coverage     54.95%   56.06%   +1.11%     
+ Complexity     8259     8082     -177     
============================================
  Files           632      632              
  Lines         47577    46075    -1502     
  Branches       7567     7799     +232     
============================================
- Hits          26144    25832     -312     
+ Misses        17606    16535    -1071     
+ Partials       3827     3708     -119     
Flag Coverage Δ
unit 38.51% <55.55%> (+0.74%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jenkins-is-staging
Copy link

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/11623432184
Status: cancelled

@jenkins-is-staging
Copy link

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/11657748364

@jenkins-is-staging
Copy link

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/11657748364
Status: failure

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.

3 participants