Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding sharing.write scope to Dropbox credentials #13181

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kob490
Copy link
Contributor

@kob490 kob490 commented Feb 10, 2025

Summary

Adding the sharing.write scope to Dropbox in order to allow file share generation.

@CLAassistant
Copy link

CLAassistant commented Feb 10, 2025

CLA assistant check
All committers have signed the CLA.

@n8n-assistant n8n-assistant bot added community Authored by a community member node/improvement New feature or request in linear Issue or PR has been created in Linear for internal review labels Feb 10, 2025
@Joffcom
Copy link
Member

Joffcom commented Feb 10, 2025

Hey @kob490,

Thanks for the PR, We have created "GHC-794" as the internal reference to get this reviewed.

One of us will be in touch if there are any changes needed, in most cases this is normally within a couple of weeks but it depends on the current workload of the team.

@Joffcom
Copy link
Member

Joffcom commented Feb 10, 2025

Hey @kob490

Does this not need a change to the node as well to achieve the share generation or is it there and doesn't work?

@kob490
Copy link
Contributor Author

kob490 commented Feb 10, 2025 via email

@kob490
Copy link
Contributor Author

kob490 commented Feb 10, 2025

just to clarify, it's not dependent on the Dropbox node at all (which doesn't have the share functionality as an option). I made this change to allow a HTTP call to https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link_with_settings to work with the Dropbox OAuth2 API Credential type. @Joffcom

@Joffcom
Copy link
Member

Joffcom commented Feb 11, 2025

Hey @kob490

It might be better to add the functionality to the node itself, we don't typically update a credential just for the http request node as you can use generic oauth for that although we should maybe have a special option to allow scopes to be set if it is for the http request node.

Support sharing on dropbox files and folders
@kob490
Copy link
Contributor Author

kob490 commented Feb 12, 2025

Hey @Joffcom ,

As per your request, I updated the PR and added the share functionality to the Dropbox node for both file and folder sharing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Authored by a community member in linear Issue or PR has been created in Linear for internal review node/improvement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants