Skip to main content
Sep 30, 2025 6:01 AM UTC

Not receiving refresh token when using authorization code grant with Postman

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!

 

Pinned Reply By Michael B

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

Sep 30, 2025 9:04 AM UTC

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

Translate
Michael B
Michael BPinned
Lucid product team
Sep 30, 2025 1:40 PM UTC

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"
  ],

Translate
Oct 1, 2025 4:13 AM UTC

Thank you!!

 

Translate