-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
After the access token expires, the Atlassian MCP server fails to refresh it using the refresh_token. Instead, it continues to send API requests with the expired access_token, resulting in 401 Unauthorized responses from the upstream service.
Current Behavior
- The server successfully authenticates and receives a valid
access_tokenandrefresh_token. - Once the access token reaches its expiry (as per the
Expiryfield in the token struct), subsequent API calls return401 Unauthorized. - No refresh request appears to be made using the
refresh_token.
Expected Behavior
When the access token expires, the MCP server should automatically use the refresh_token to obtain a new access_token and retry the failed request seamlessly.
Steps to Reproduce
- Start the Atlassian MCP server and authenticate successfully.
- Allow 1 hour to pass (or force token expiry).
- Observe API calls made by the MCP server to Atlassian APIs.
- After expiry, responses become
401 Unauthorized. - No refresh request is observed in logs or network traces.
Joc007, devisperk, slewis-bd, andrei-reinus-cargoo, yukilabo and 8 more
Metadata
Metadata
Assignees
Labels
No labels