Skip to content

Conversation

@imesh94
Copy link
Contributor

@imesh94 imesh94 commented Oct 20, 2025

This PR adds the configuration changes required for the FAPI 2.0 compliance to the identity.xml.j2 and default.json.

Issue: wso2/product-is#25863

Copilot AI review requested due to automatic review settings October 20, 2025 09:53
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces configuration support for FAPI compliance by adding a FAPI version setting and rendering it in the generated identity.xml.

  • Add oauth.oidc.fapi.version default value in the server feature JSON.
  • Emit in identity.xml.j2 when the version is configured.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/org.wso2.carbon.identity.core.server.feature.default.json Adds the oauth.oidc.fapi.version default configuration key.
features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/identity.xml.j2 Renders the FAPIVersion element conditionally based on the configuration.

@sonarqubecloud
Copy link

@codecov
Copy link

codecov bot commented Oct 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 50.60%. Comparing base (ad4311f) to head (ecde49a).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #7567   +/-   ##
=========================================
  Coverage     50.59%   50.60%           
+ Complexity    19108    19084   -24     
=========================================
  Files          2094     2094           
  Lines        122677   122683    +6     
  Branches      25513    25515    +2     
=========================================
+ Hits          62074    62081    +7     
+ Misses        52633    52631    -2     
- Partials       7970     7971    +1     
Flag Coverage Δ
unit 35.26% <ø> (+0.03%) ⬆️

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

1 participant