Skip to content

Conversation

kushalshit27
Copy link
Contributor

@kushalshit27 kushalshit27 commented Jul 24, 2025

🔧 Changes

  • Introduce proof_of_possession validation in the resource servers schema and corresponding tests.

Examples Yaml format:

resourceServers:
  - name: "My API"
    identifier: "https://myapp.com/api/v1"
    scopes:
      - value: "update:account"
        description: "update account"
      - value: "read:account"
        description: "read account"
    .......................
    proof_of_possession:
      mechanism: "dpop"
      required: true

Examples JSON format:

{
  "name": "My API",
  "identifier": "https://myapp.com/api/v1",
  "scopes": [
    {
      "value": "write:messages",
      "description": "write messages"
    },
    {
      "value": "read:messages",
      "description": "read:messages"
    }
  ],
  .......................
  "proof_of_possession": {
    "mechanism": "dpop",
    "required": true
  }
}
  • Update dependencies for eslint and undici to their latest versions, ensuring code quality and compatibility. Refactor promise syntax in tests for consistency.

📚 References

🔬 Testing

  • Unit test added
  • E2E pass

📝 Checklist

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

@kushalshit27 kushalshit27 changed the title feat: add DPoP support for proof-of-possession mechanism in resource servers feat: add DPoP support for proof-of-possession mechanism in resourceServers Jul 24, 2025
@codecov-commenter
Copy link

codecov-commenter commented Jul 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.30%. Comparing base (c4e4ccd) to head (f6ed79b).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1132   +/-   ##
=======================================
  Coverage   80.29%   80.30%           
=======================================
  Files         131      131           
  Lines        4964     4965    +1     
  Branches      978      978           
=======================================
+ Hits         3986     3987    +1     
  Misses        563      563           
  Partials      415      415           

☔ 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.

@kushalshit27 kushalshit27 marked this pull request as ready for review July 24, 2025 13:58
@kushalshit27 kushalshit27 requested a review from a team as a code owner July 24, 2025 13:58
@kushalshit27 kushalshit27 merged commit 74ffa44 into master Jul 28, 2025
8 checks passed
@kushalshit27 kushalshit27 deleted the DXCDT-1106-dpop-support branch July 28, 2025 06:37
@kushalshit27 kushalshit27 mentioned this pull request Jul 30, 2025
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