New app release: How to connect your Dropbox with api v2 as external storage to ownCloud
ownCloud Drop Box app v2. Keep your Dropbox in sync with your ownCloud. Google Summer of Code Student Hemant provides you with the Dropbox integration app.
Earlier this year Dropbox announced to drop it’s api v1 in favour of dropbox api v2.
On September 28th the api v1 endpoint was turned off.
As of now still both authentication methods are available in ownCloud, while only api v2 with oauth2 works from now on. You may ask why ownCloud develops an app to access the storage of an competitor.
The reason is quite simple: We believe that ownCloud users should have access to their files from one secure, single point of access. ownCloud integrates well with all kinds of storages and dropbox is just one of them.
Just follow these easy steps to connect your ownCloud to Dropbox:
#4 Now in the Admin overview click storage. Add the storage connection in your overview and make sure you selected the dropbox connection with oauth2.
#5 Login to the dropbox developers page and create a new app:
#6 Then choose which folders to share, or to share everything in your Dropbox.
#7 Name Your App and then click Create App
#8 Under the section OAuth2 Redirect URIs add a new URL
http://path/to/owncloud/index.php/settings/admin?sectionid=storage (Replace http://path/to/owncloud/index.php with your valid owncloud installation path)
#9 If you are a regular user you must use the URL http://path/to/owncloud/index.php/settings/personal?sectionid=storage
#10 Fill the details Client Id, Client Secrets from you Dropbox App page
#11 Click Grant Access and then you will be redirected for OAuth login
#12 After completing the OAuth you will be redirect back to Storage Section and you should see green mark along your storage configuration
You are ready to go.
In the near future with (10.0.4) we will remove the dropbox api v1 from core and continue our successful path in modularising the ownCloud platform.
oAuth2 as a an authentication industry standard will be soon available for all clients connected to the ownCloud server as well. We are working strongly on strapping unnecessary code from core and to further modularise the ownCloud platform to make development faster, more secure and easier accessible for developers, users and administrators all around the world.
Happy integrating and many thanks to Hemant!