Add support for ID-JAG authorization grant profile in OIDC metadata - #4677
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughOIDC and OAuth 2.0 discovery metadata now include the ID-JAG authorization grant profile when JWT Bearer is supported. The metadata model, API schema, service logic, constant, and endpoint tests cover supported and unsupported configurations. ChangesID-JAG discovery support
Estimated code review effort: 2 (Simple) | ~15 minutes Possibly related issues
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Head branch was pushed to by a user without write access
ebc6274 to
1a70151
Compare
Purpose
Advertise support for the Identity Assertion JWT Authorization Grant (ID-JAG) profile in the OIDC discovery metadata when the JWT Bearer grant type is enabled.
Approach
Adds a new
authorization_grant_profiles_supportedfield to the OIDC provider metadata. The discovery service populates it withurn:ietf:params:oauth:grant-profile:id-jagwhenever the JWT Bearer grant type is among the supported grant types; the field is omitted entirely when it isn't.Related Issues
Related PRs
Checklist
breaking changelabel added.Security checks
Summary by CodeRabbit
New Features
authorization_grant_profiles_supporteddiscovery field, which is omitted when unsupported.Documentation