Setting up OAuth for Dropbox
Step 1: Enable the Dropbox API
Go to the Dropbox App Console.
Click on "Create App" and select "Scoped App".
Choose the "Full Dropbox" access type.
Name your app and click on "Create App".
Step 2: Setting up Redirect URI and Scopes
You should now be on the settings page for the application you have just created. Scroll down to the section titled "OAuth 2". Under Redirect URIs, add https://oauth2.medialakeapp.com/dropbox-redirect.
Go to the permissions tab at the top of the page. Select the following read-only permissions:
- account_info.read
- files.metadata.read
- files.content.read
- file_requests.read
Under Connect, make sure profile, openid, and email are selected.
Click Save at the bottom of the screen, and then Submit.
Step 3: App Key and App Secret
Go back to the settings tab at the top of the page.
Just above the OAuth section from earlier, there is a section where your "App Key" and "App Secret" are displayed. Please make a note of both of these as they need to be entered into the Medialake settings page when you are setting up your Dropbox integration.
Important Considerations
Make sure to follow security best practices, especially when handling client secrets.
The permissions and configuration might vary based on the specific service or API you're accessing.
####
