WP File Download Addon: OneDrive Integration
1. Microsoft OneDrive Application
The OneDrive integration is distributed as a separate Add-on. It includes OneDrive Personal and OneDrive Business. You need to install this add-on (plugin) additionally to WP File Download. The addon includes integration for Google Drive and Dropbox too. These steps below are applied for both.
First, you need a Microsoft Azure App to connect your website to a OneDrive account. Go to: https://portal.azure.com/, login and click on New registration button.
On Register an application form, setup an app name and copy your website URL into the Redirect URL field and click on the Register button.
Then you're almost done, from here you have an Application ID (Client ID), only the password is missing. On the left menu, go to Certificates & secrets, then click on the New client secret button to create one. After that, fill the Description and set the Expires for it.
A password (Client Secret) is generated right away after pressing on Add button, then remember to make a copy.
2. Login to OneDrive
From now, you can save a lot of time while connecting to the OneDrive server. First, in order to use this feature, you have to link your Joomunited account at Menu Settings > General, please click on the WordPress settings link if you have not connected.
Then go back to the settings and just click on Connect OneDrive button for OneDrive Personal or Connect OneDrive Business button for OneDrive Business on the right corner.
Then follow the next steps to finish the connection.
With the credentials in the previous step, please go to WordPress admin and click on the menu WP File Download > Configuration > Cloud Connection tab > Onedrive settings section. Paste your
- Client ID
- Client Secret
After that, save the configuration and then click on the Connect OneDrive button.
You'll have to validate the access authorization for app access, just click Yes.
The connection should be a success ☺.
With the OneDrive Business, after connecting successfully, you will see the "Watch Changes" button. You should turn it on if you want to synchronize immediately Files and Categories from OneDrive Business to WP File Download.
Then you can create files, categories, and subcategories in OneDrive & in WP File Download, everything will be synchronized!