# MCP PKCE oAuth flow is not using refresh token

**URL:** <https://forum.cursor.com/t/mcp-pkce-oauth-flow-is-not-using-refresh-token/155151>\
**Category:** Bug Reports\
**Tags:** mcp, login\
**Created:** [March 18, 2026, 11:37am UTC](https://forum.cursor.com/t/mcp-pkce-oauth-flow-is-not-using-refresh-token/155151 "2026-03-18T11:37:10Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Bharat\_Batra](https://avatars.discourse-cdn.com/v4/letter/b/ed655f/32.png) [@Bharat\_Batra](https://forum.cursor.com/u/Bharat_Batra)\
**Post date:** [March 18, 2026, 2:52pm UTC](https://forum.cursor.com/t/mcp-pkce-oauth-flow-is-not-using-refresh-token/155151/5 "2026-03-18T14:52:50Z")

</div>

Hello, we are noticing the exact same thing.

I am using Cursor 2.6 and my MCP server using Oauth disconnects very quickly. It seems the Refresh token is not being used to keep the session live.

---

_[View the full topic](https://forum.cursor.com/t/mcp-pkce-oauth-flow-is-not-using-refresh-token/155151)._
