MCP OAuth connections fail permanently when server-side tokens are invalidated #12564
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Thanks for reporting! This cannot be reproduced, Your commit (
Additionally, there's already a Revoke button (present since before v0.8.4, the red button in your screenshot) in the MCP server config section that deletes all stored OAuth tokens (access, refresh, and client info) and revokes them at the provider. This serves as the "Clear tokens" button you're requesting, it should be visible next to the server entry when OAuth is configured. These improvements should resolve the permanent failure state you're seeing. Please try again on the latest version (use latest or wait until new release this week) and let me know if the issue persists. |
Beta Was this translation helpful? Give feedback.

Thanks for reporting! This cannot be reproduced, Your commit (
0736ff26) is exactly thev0.8.4tag, and the main issue you're describing, stale client registrations causing retry loops with invalid credentials, was fixed after that release in:client_idMismatch. This added automatic detection and cleanup of stale client registrations when the server rejects them (invalid_client,unauthorized_client,client_id mismatch, etc.), and improved the OAuth flow retry logic.Additionally, there's alr…