Skip to main content

I am unable to complete the OAuth 1.0 flow necessary to access data from https://lucid.app/api/graph/.


The instructions for auth differ on https://www.lucidchart.com/pages/api_authorization and https://developer.lucid.co/api/#legacy-authentication.


Following https://www.lucidchart.com/pages/api_authorization I have some observations:



Following https://developer.lucid.co/api/#legacy-authentication I am unable to even receive a requestToken:
When POSTing the exact same data to https://api.lucid.co/oauth/requestToken I get a response of:



{

"code": "unauthorized"

"message": "Missing or invalid access token"

}

I have seen this same issue RE the alternate requestToken endpoint in this very recent post:
https://lucidchart.zendesk.com/hc/en-us/community/posts/4415168503316-Getting-Request-Token-for-OAuth-1-0-Exchange

Could you please help me with this?

Also are there any plans to provide the shape data from documents as the Legacy Graph API does in the 2.0 API?

Thanks and Regards

Gareth

Edit: While troubleshooting this issue with Gareth we identified an issue with the 'https://api.lucid.co/oauth' OAuth 1 endpoints listed in our newer API documentation.


Our engineers are currently looking into this issues and we will be sure to update this thread as soon as we have any updates on a fix. In the meantime our old OAuth1 endpoints (https://app.lucidchart.com/oauth) are working as expected so I recommend using these instead. 


Hi Gareth thanks for posting in the Lucid Community! In order to troubleshoot this effectively we would need to take a closer look at all the parameters you are including in the initial request so I created a support ticket from your post so that we can communicate directly about this. I will update this thread with any insights in case anyone else is experiencing similar issues with the OAuth1 flow.


To answer a general point about your post- both endpoints in each version of our legacy API documentation you linked to (app.lucidchart.com/oauth/ and lucid.app/oauth/) should work but I would recommend following and using the endpoints provided in our most up-to-date documentation here as these are likely to be the endpoints we support moving forward. Regarding whether we intend to port the legacy Graph API to OAuth2-- I've directed this question to our API team for the most current information and I'll update this post with their feedback soon. 


Hi! Updating this thread with exciting news - we've recently launched Lucid for Developers a community space dedicated to supporting and connecting our users working with the Lucid API and our most technical features.



In this section the developers actually building Lucid’s APIs will be available to answer your most technical questions just like this one. Furthermore here we plan to announce new endpoints tools and guides to help you have the best possible experience developing on Lucid’s APIs. You can browse existing posts connect with other users with similar questions and goals and ask questions of your own by creating a new post or leaving a comment. Thank you and we're excited to hear from you!


Reply