Title: Google Drive Authentication URL wrong
Last modified: August 22, 2016

---

# Google Drive Authentication URL wrong

 *  Resolved [Marc Nilius](https://wordpress.org/support/users/zottto/)
 * (@zottto)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/google-drive-authentication-url-wrong/)
 * Hi!
 * I’m using UpDraft Plus 1.9.17 with WP 3.9.2 and wanted to save my backups to 
   Google Drive. First I thought, my OAuth credentials were wrong, but than I found
   out, that the authentication URL is kind of mis-formatted:
 * After adding Client ID and Secret I clicked the link to authenticate my Google
   account. I got an error like this:
    Invalid response_type: code;client_id=1063…
 * The Google server did not accept the parameter response_type because the separator
   semicolon was not recognized. I replaced all semicolons with “&” and than the
   authentication worked well.
 * I know that parameter separation with “;” is a valid possibility but somehow 
   the Google server does not like this.
 * Could you please check this?
 * Thanks,
    Marc
 * [https://wordpress.org/plugins/updraftplus/](https://wordpress.org/plugins/updraftplus/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * (@davidanderson)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/google-drive-authentication-url-wrong/#post-5174907)
 * Hi Marc,
 * Have you seen this? [http://updraftplus.com/support/configuring-google-drive-api-access-in-updraftplus/](http://updraftplus.com/support/configuring-google-drive-api-access-in-updraftplus/)
 * I’m having trouble working out from your report which bits of the instructions
   the things you are describing correspond to – can you clarify, please?
 * Best wishes,
    David
 *  Thread Starter [Marc Nilius](https://wordpress.org/support/users/zottto/)
 * (@zottto)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/google-drive-authentication-url-wrong/#post-5174927)
 * Hi David,
 * I have created a new client ID in the Google Developer Console and than:
 * – added client ID and Secret to the plugins settings page
    – saved the settings–
   got back to the settings page to click the link to authorize the google account
 * Clicking this link I got the error message (from the google servers). I grabbed
   the URL which was listed in the adress bar and replaced all “;” by “&” and than
   the URL worked, which means that I also saw the dialog to allow Updraft Plus 
   the access to my Google account.
 * So now, my Google Drive settings are all working fine and the backup is working,
   too. I just had to manually correct the authorize URL.
 * I hope that description was a little bit clearer.
 * Marc
 *  Plugin Author [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * (@davidanderson)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/google-drive-authentication-url-wrong/#post-5174952)
 * When you set up the client ID in the Google console, what URL did you enter?
 * David
 *  Thread Starter [Marc Nilius](https://wordpress.org/support/users/zottto/)
 * (@zottto)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/google-drive-authentication-url-wrong/#post-5174978)
 * As Redirect URI:
    [http://www.mydomain.de/wp-admin/options-general.php?action=updraftmethod-googledrive-auth](http://www.mydomain.de/wp-admin/options-general.php?action=updraftmethod-googledrive-auth)
 * As Javascript origin:
    [http://www.mydomain.de](http://www.mydomain.de)
 * Marc
 *  Thread Starter [Marc Nilius](https://wordpress.org/support/users/zottto/)
 * (@zottto)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/google-drive-authentication-url-wrong/#post-5174987)
 * As an update:
 * I have these lines in my php.ini:
    arg_separator.output=”;” arg_separator.input
   =”;&”
 * If I remove them, the Google Drive authentication works well. With these two 
   lines included in the php.ini, the above mentioned error occurs while trying 
   to authenticate my google account. (But I need these two lines because of another
   project, so it is no option two remove them).
 * Marc
 *  Plugin Author [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * (@davidanderson)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/google-drive-authentication-url-wrong/#post-5174989)
 * Hi Marc,
 * As far as I know, there’s no way to persuade Google to use a different separator
   in the URLs that it calls as part of its authentication procedure. But, you only
   have to authenticate once, so, if you’ve succeeded, then it should keep working
   in future.
 * Best wishes,
    David

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Google Drive Authentication URL wrong’ is closed to new replies.

 * ![](https://ps.w.org/updraftplus/assets/icon-256x256.jpg?rev=1686200)
 * [UpdraftPlus: WP Backup & Migration Plugin](https://wordpress.org/plugins/updraftplus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/updraftplus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/updraftplus/)
 * [Active Topics](https://wordpress.org/support/plugin/updraftplus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/updraftplus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/updraftplus/reviews/)

## Tags

 * [authentication](https://wordpress.org/support/topic-tag/authentication/)

 * 6 replies
 * 2 participants
 * Last reply from: [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/google-drive-authentication-url-wrong/#post-5174989)
 * Status: resolved