Sure! To make the installation of Use-your-Drive as easy as possible, the plugin uses a pre-configured Google App. However if you have created your own Google 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 'http://www.florisdeleeuw.nl/use-your-drive/index.php'. Change this url to the location of the redirect script on your server (e.g. http://www.mysite.com/wp-content/plugins/use-your-drive/includes/_authorizeApp.php. Save the file.
- Go to your App in the Google Developer Console and change the Redirect URI to the same url as above. Save it.
- Re-authorize your the plugin!