Commit dcc2952
committed
Fix OAuth secrets cleanup on server deletion and clear redirectUri as transient field
- Call deleteMcpServerSecret in removeMcpServer to clean up OAuth
secrets (client_id, client_secret, refresh_token, PKCE state) from
.mcp-secrets.json when a server is deleted
- Add redirectUri to the fields cleared by clearTransientOAuthFields,
matching the documented contract for transient fields1 parent 8978b6c commit dcc2952
2 files changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| 187 | + | |
187 | 188 | | |
188 | 189 | | |
189 | 190 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
470 | 471 | | |
471 | 472 | | |
472 | 473 | | |
| 474 | + | |
| 475 | + | |
473 | 476 | | |
0 commit comments