Skip to main content

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!

 

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


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


Thank you!!