I'm trying to access the LucidChart API via the following documentation:
https://developer.lucid.co/api/v1/#overview
I'm using the OAuth 2.0 client. I obtained a Client ID and Client Secret. What is not clear to me is that the App Registration step is the section around the URI and what needs to be done to fill out. Below are the steps in the API documentation.
App registration
Note: Registering a new application requires Team Admin permissions for the Lucid account.
To set up an app to use OAuth 2.0 perform the following steps:
- Obtain an OAuth 2.0 client ID and client secret from the account's Lucid team administration page.
- Register at least one redirect URI on that page. Lucid will redirect the user to this location once they have granted access. This should be a URL that the app controls. Lucid will append the authorization code to the URL in the code query parameter.
Test redirect URI
As a service Lucid provides a redirect uri that can be used to allow the user to copy the authorization code to the clipboard.
To use it register the redirect URI:
https://lucid.app/oauth2/clients/{client id}/redirect
When this redirect URI is used and a user grants access to the app Lucid will redirect the user to a page on our site where they can view and copy the authorization code.