-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed as not planned
Labels
authIssues and PRs related to authorizationIssues and PRs related to authorizationduplicateThis issue or pull request already existsThis issue or pull request already existsenhancementNew feature requestNew feature request
Description
The MCP Inspector should utilize the refresh_token to properly validate the token refresh flow.
Steps to Reproduce:
- Use a short-lived access token
- Log in and wait for the token to expire
- Send a request (e.g., list/tools)
Expected Behavior:
The token should be automatically refreshed when expired.
Actual Behavior:
The request fails with the following error:
MCP error -32001: Error POSTing to endpoint (HTTP 401): {"message":"Invalid or expired access token","error":"Unauthorized","statusCode":401}
Additional Issues:
- Clicking "reconnect" also fails to use the refresh_token
- A code search confirms that refresh_token is not implemented anywhere in the codebase
Impact:
This prevents proper evaluation of the Authorization specification, as the refresh token flow cannot be tested.
berryp23, anyoung-tableau, josiah-roberts, konsti, pamanta and 4 more
Metadata
Metadata
Assignees
Labels
authIssues and PRs related to authorizationIssues and PRs related to authorizationduplicateThis issue or pull request already existsThis issue or pull request already existsenhancementNew feature requestNew feature request