fix: support protected resource enterprise credentials - #4389
Conversation
|
Claude finished @joeyorlando's task in 7m 24s —— View job PR Review: fix: support protected resource enterprise credentialsPR #4389 · 44 files · +1440 / -197 SummaryThis PR adds a two-step enterprise credential exchange flow for OAuth Protected Resources (RFC 8414). When an agent's tool is configured with
The PR also introduces synthesized read-resource tools for resource-only MCP servers, a fallback chain from external IdP tokens to internal gateway tokens, and centralizes OAuth URN constants into FindingsCode Quality & ArchitectureWell-structured flow decomposition. The broker cleanly separates the two-step exchange ( Good use of shared constants. Moving Synthesized read-resource tools are a pragmatic addition. Catching JSON-RPC method-not-found errors from Potential Issues
Security
Test CoverageComprehensive test coverage across all new features:
Tests use real PGlite database and test fixtures per project conventions. DocumentationDocumentation updates in VerdictApprove with suggestions. The core architecture is sound and well-tested. The two items most worth addressing before merge are (1) the lack of origin validation on discovered authorization server URLs and (2) the missing metadata cache for protected resource discovery. The remaining items are minor and could be addressed in follow-ups. |
🤖 I have created a release *beep* *boop* --- ## [1.2.34](platform-v1.2.33...platform-v1.2.34) (2026-05-06) ### Features * add file upload knowledge connector ([#3924](#3924)) ([9069119](9069119)) ### Bug Fixes * add fetching embedding models for openrouter provider ([#4368](#4368)) ([d0ea63b](d0ea63b)) * org-scoped MCP visibility ([#4411](#4411)) ([afa33cf](afa33cf)) * stale MCP pod cleanup ([#4409](#4409)) ([3e7c2c6](3e7c2c6)) * support protected resource enterprise credentials ([#4389](#4389)) ([7d2f3b2](7d2f3b2)) ### Code Refactoring * **models:** centralize MODELS_DEV_PROVIDER_MAP into shared constants ([#4407](#4407)) ([beeecf4](beeecf4)) ### Miscellaneous Chores * allow search in add & reuse connector dialogs ([#4246](#4246)) ([1189478](1189478)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: archestra-ci[bot] <222894074+archestra-ci[bot]@users.noreply.github.com>
|
Hi @joeyorlando , I see lint error in This is strange because everything is green, including further merged PRs. It could be my local problem, though; however, it fails in a freshly cloned repo too :( |
Summary