nextcloud / nextcloud/integration_dropbox
OAuth not working
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 36
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Steps to reproduce
- Install the integration
- Create Dropbox app with 3 requested read permissions
- Enter key and secret in Nextcloud settings
Expected behaviour
Data Migration in User Settings should allow import of files from Dropbox
Actual behaviour
Clicking on Data Migration throws an error message: Failed to get Dropbox storage information
Log entry: Dropbox OAuth error : Client error: 'POST https://api.dropboxapi.com/oauth2/token' resulted in a '400 Bad Request' response: {"error": "invalid_grant", "error_description": "refresh token is invalid or revoked"}
Server configuration
Web server: Nginx
Database: MariaDB
PHP version: 8.2.27
Nextcloud version: Nextcloud Hub 9 (30.0.4)
Browser
Browser name: LibreWolf
Browser version: 134.0-1
Operating system: Fedora 41
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Data Migration flow in User Settings and the Dropbox OAuth token request reported in the log. Reproduce the 400 invalid_grant response with the stated Nextcloud, PHP, and Dropbox-app setup, then trace where the integration handles the token failure. Done means Dropbox file import works without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- api, authentication, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100