Skip to content

fix(mcp): return expired status for OAuth reauthorization - #1826

Closed
The-AarushiSingh wants to merge 1 commit into
UsefulSoftwareCo:mainfrom
The-AarushiSingh:feat/oauth-reauthorization-ui
Closed

fix(mcp): return expired status for OAuth reauthorization#1826
The-AarushiSingh wants to merge 1 commit into
UsefulSoftwareCo:mainfrom
The-AarushiSingh:feat/oauth-reauthorization-ui

Conversation

@The-AarushiSingh

Copy link
Copy Markdown
Contributor

Related Issue

Fixes #1816

Description

Fixes OAuth reauthorization status classification.

When an MCP OAuth token expires, the connection now correctly shows "expired" instead of "degraded", triggering the Reconnect button in the UI.

Problem

OAuth reauthorization failures were classified as "degraded" instead of "expired", hiding the reconnect state from users.

Solution

Added explicit check for "MCP OAuth re-authorization" in mcpLivenessFailureStatus to return "expired" status.

Testing

  • ✅ 7 tests passed in catalog-sync.test.ts
  • ✅ Formatting clean
  • ✅ Manual verification working

Add explicit check for 'MCP OAuth re-authorization' in
mcpLivenessFailureStatus to return 'expired' instead of 'degraded'.

Fixes UsefulSoftwareCo#1816
@RhysSullivan

Copy link
Copy Markdown
Collaborator

Closing in favor of #1818

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MCP OAuth tool refresh hides reauthorization and re-registers DCR client

2 participants