Repository navigation
feat(oauth): POST-only connect, secret re-entry on URL change, record connecting user - #4950
Conversation
… connecting user Addresses the follow-up items from review of #4624. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
✅ OpenCodeReview: Review complete: 0 finding(s) across 7 selected item(s). |
|
Merge risk: medium Alignment: decent 👀
Impact: medium 👀
Verification: poor
Rollback cost: low ✅
Error detection: good ✅
Advisory assessment of 7ed2b09, made by a model from the PR text and diff. It does not set the |
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Fixed the two render tests (back to GET) in the latest commit. The "shared by the team" note in the UI is intentional; it addresses the review's design-risk comment. |
Findings
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4950 +/- ##
==========================================
+ Coverage 87.04% 87.12% +0.07%
==========================================
Files 754 755 +1
Lines 52943 53250 +307
==========================================
+ Hits 46083 46392 +309
+ Misses 6860 6858 -2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
After a login redirect the browser re-requests the connect URL with GET. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
Product Description
OAuth (Authorization Code) providers: the Connect button now submits a form, changing the authorization or token URL requires re-entering the client secret, and the provider page shows who connected it and notes that the connection is shared by the team.
Technical Description
Follow-ups left open in the review of #4624:
oauth_connectisrequire_POST; the button submits a CSRF-protected form.OAuthAuthorizationCodeConfigFormrejects a masked (unchanged) client secret whenauthorize_urlortoken_urlchanged, so the stored secret can't be sent to a new host without being retyped.connected_by/connected_atinextra_data.Not done: restricting a provider to allowed hosts.
Issue Link
Follow-up to #4624
Docs and Changelog
Operator Impact
🤖 Generated with Claude Code