Repository navigation
Commit de6e48e
committed
fix(mcp): invalidate stale credentials before re-authentication
Before starting a new OAuth flow, remove any stored tokens so the MCP
SDK triggers a fresh authorization rather than reusing stale credentials
from a previous account or API key. This breaks the needs_auth loop
where stale tokens exist but belong to a different account.
Fixes anomalyco#292271 parent 34b1045 commit de6e48e
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
785 | 785 | | |
786 | 786 | | |
787 | 787 | | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
788 | 793 | | |
789 | 794 | | |
790 | 795 | | |
| |||
0 commit comments