Title: Google API login redirect uri error
Last modified: December 18, 2018

---

# Google API login redirect uri error

 *  Resolved [jperezg](https://wordpress.org/support/users/jperezg/)
 * (@jperezg)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/google-api-login-redirect-uri-error/)
 * I am having constant 500 errors when I try to login with google and the user 
   was redirected. I think the problem it’s in the URL redirect side in google developers
   config. Maybe I should use another type of URL. Actually, I am using / and /mi-
   cuenta
 * I restarted my vps and increase my php memory to avoid it was a server side problem.
   So can you help with that please?
 * UPDATE: My logs error said this
 * PHP Fatal error: Uncaught Google_Auth_Exception: Error fetching OAuth2 access
   token, message: ‘invalid_client: Unauthorized’ in…
    -  This topic was modified 7 years, 4 months ago by [jperezg](https://wordpress.org/support/users/jperezg/).
    -  This topic was modified 7 years, 4 months ago by [jperezg](https://wordpress.org/support/users/jperezg/).
    -  This topic was modified 7 years, 4 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgoogle-api-login-redirect-uri-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [jperezg](https://wordpress.org/support/users/jperezg/)
 * (@jperezg)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/google-api-login-redirect-uri-error/#post-11003228)
 * Sorry, it was my bad. I was using my client key and not my client secret. I changed
   and now works great. Thank you anyway.
 *  Plugin Author [Heateor Support](https://wordpress.org/support/users/heateor/)
 * (@heateor)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/google-api-login-redirect-uri-error/#post-11004059)
 * Glad to know you figured 🙂

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

The topic ‘Google API login redirect uri error’ is closed to new replies.

 * ![](https://ps.w.org/super-socializer/assets/icon-128x128.png?rev=1866723)
 * [Social Share, Social Login and Social Comments Plugin - Super Socializer](https://wordpress.org/plugins/super-socializer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/super-socializer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/super-socializer/)
 * [Active Topics](https://wordpress.org/support/plugin/super-socializer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/super-socializer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/super-socializer/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Heateor Support](https://wordpress.org/support/users/heateor/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/google-api-login-redirect-uri-error/#post-11004059)
 * Status: resolved