To create your own OneDrive App complete these steps:
- Go to the Microsoft account Developer Center.
- Click on Add an App for Converged Applications
- Enter your app's display name
- On the next page go the header Platforms and make sure that a Web platform is added. In the settings of the Web platform add to the Redirect-URls: https://www.wpcloudplugins.com/share-one-drive/index.php (do you want to use your own Redirect url?)
- Add the following Delegated Graph Permissions:
- Files.ReadWrite
- offline_Access
- User.Read
- Save the changes
- After you've completed this steps, Look for the Application Id and generate Application Secret on the same page. Insert both values in the 'client ID' and 'Client secret' fields on the Plugin settings page, save the settings and Authorize the Plugin