feat(integrations): broker delegated OAuth connections - #14935
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Team Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
✅ Test Coverage AdvisorNo source changes detected without accompanying tests. Thanks for keeping coverage up! 🎉
|
|
✅ Migration Validation Passed All migrations follow the Expand-Contract pattern correctly. |
|
Build successful! ✅ |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## fix/int-4-connection-api #14935 +/- ##
============================================================
- Coverage 65.84% 65.63% -0.21%
============================================================
Files 2523 2519 -4
Lines 263021 263230 +209
Branches 36940 39299 +2359
============================================================
- Hits 173174 172771 -403
- Misses 87623 88239 +616
+ Partials 2224 2220 -4
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Connections can now complete delegated OAuth consent and refresh credentials inside the worker that uses them. Adds instance-configured Google, Microsoft, and separate Slack user/bot registrations, one-time browser-bound state, PKCE, encrypted token storage, and provider revocation with an explicit outcome.
Refresh, callback completion, revoke, and delete share database transaction locks. Concurrent workers reuse a completed exchange, including the single reactive retry after a provider rejects a cached token. Callback replay, removed registrations, tenant restrictions, and revoked connections fail closed.
Stacked on #14921 (INT-4). Includes customer-owned registration runbooks, hosted configuration, Desktop loopback public clients, and authorization endpoint coverage.
Validation:
Live consent against customer provider registrations was not exercised. Microsoft upstream consent removal remains an operator action; local revocation always removes credentials, and the API reports the provider outcome separately.