Sure! To make the installation of Share-one-Drive as easy as possible, the plugin uses a pre-configured OneDrive App. However if you have created your own OneDrive App, you probably also want to change the Redirect URI.
Before you change any code, please make sure that the default setup works! Also, if you don't know what you are doing, please use the default configuration.
If you still want to change the Redirect URI, you can follow the following steps:
- Open 'wp-content/plugins/use-your-drive/includes/App.php' and search for 'https://www.florisdeleeuw.nl/share-one-drive/index.php'. Change this url to the url to your redirect script (e.g. http://www.mysite.com/wp-content/plugins/share-one-drive/includes/_authorizeApp.php. Save the file.
- Go to your App in the Microsoft account Developer Center and change the Redirect URI on the API settings page to the same url as above. Save it.
- Re-authorize your plugin!