Add Token Exchange grant type to agent application template#10183
Add Token Exchange grant type to agent application template#10183ranuka-laksika wants to merge 2 commits intowso2:masterfrom
Conversation
📝 WalkthroughWalkthroughThe agent-application template's OAuth2 OIDC configuration is extended to support the token-exchange grant type. Corresponding TypeScript configuration is updated to include the token-exchange grant in the allowed grant types. Changes
🚥 Pre-merge checks | ✅ 6✅ Passed checks (6 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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. Additional details and impacted files@@ Coverage Diff @@
## master #10183 +/- ##
=======================================
Coverage 56.05% 56.05%
=======================================
Files 42 42
Lines 1024 1024
Branches 254 246 -8
=======================================
Hits 574 574
Misses 416 416
Partials 34 34
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
Let's add token exchange grant to mcp client application template too. cc: @ayshsandu |
Summary
This PR enhances the agent application template and creation flow with two key
improvements:
Token Exchange Grant Type Support - Agent applications now include the Token Exchange grant type (
urn:ietf:params:oauth:grant-type:token-exchange) by defaultChanges
Token Exchange Grant Type
Files Modified:
features/admin.extensions.v1/application-templates/templates/agent-application/agent-application.jsonfeatures/admin.extensions.v1/configs/application.tsxWhat Changed:
urn:ietf:params:oauth:grant-type:token-exchangeto the default grant types in the agent application templateGrant Types for Agent Applications:
Issue:- wso2/product-is#27653