Skip to main content

Not receiving refresh token when using authorization code grant with Postman

  • September 30, 2025
  • 3 replies
  • 29 views

Forum|alt.badge.img+3

I had a quick question regarding the access token generation process.

I'm integrating with Lucid Chart’s OAuth 2.0 authentication and I'm using the Authorization Code grant type to obtain an access token. I'm setting this up using Postman's built-in OAuth 2.0 flow.

Everything works fine, I can successfully get an access token and use it for API calls. However, I’m not receiving a refresh token in the response, even though I expected one based on the standard OAuth 2.0 flow.

Here’s my setup:

Question:

Does this API support refresh tokens when using the Authorization Code grant type?
If so, are there specific scopes, client settings, or additional parameters required to receive one?

Any insights or examples would be appreciated!

Thanks in advance!

 

September 30, 2025

Hello Iobuildersatko,

To generate a refresh token, you need to include the `offline_access` scope.  I tried to include a link to the documentation, but its not really spelled out clearly anywhere.  We’ll get that fixed.

Example:

  "scopes": [
    "lucidchart.document.app",
    "offline_access"
  ],

Comments

Forum|alt.badge.img+3

@Michael B tagging you here, I’ve selected a wrong product


Michael B
Forum|alt.badge.img+4
  • Lucid product team
  • September 30, 2025

Hello Iobuildersatko,

To generate a refresh token, you need to include the `offline_access` scope.  I tried to include a link to the documentation, but its not really spelled out clearly anywhere.  We’ll get that fixed.

Example:

  "scopes": [
    "lucidchart.document.app",
    "offline_access"
  ],


Forum|alt.badge.img+3

Thank you!!