Commit e37f10a
fix(mcp): allow OAuth flow for DCR-only servers; detect secret-only edits
- Drop oauthClientId requirement on auth-failed bypass so DCR-capable servers can submit and trigger auto-OAuth
- Use oauthClientSecretTouched in hasChanges so clearing the stored secret enables submit
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 0968598 commit e37f10a
1 file changed
Lines changed: 3 additions & 3 deletions
File tree
- apps/sim/app/workspace/[workspaceId]/settings/components/mcp/components/mcp-server-form-modal
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
434 | | - | |
| 434 | + | |
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
| |||
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
446 | | - | |
| 446 | + | |
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
| |||
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
527 | | - | |
| 527 | + | |
528 | 528 | | |
529 | 529 | | |
530 | 530 | | |
| |||
0 commit comments