Title: Google Contacts not working?
Last modified: August 21, 2016

---

# Google Contacts not working?

 *  Resolved [joshuairl](https://wordpress.org/support/users/joshuairl/)
 * (@joshuairl)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/google-contacts-not-working/)
 * When it returns after I authorize the app it just goes to a blank gray screen
   with no output…? any tips?
 * [https://wordpress.org/plugins/keyring/](https://wordpress.org/plugins/keyring/)

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

 *  Plugin Author [Beau Lebens](https://wordpress.org/support/users/beaulebens/)
 * (@beaulebens)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/google-contacts-not-working/#post-4629270)
 * Sounds like you’re possibly getting a fatal error.
 * Are you seeing any errors in your server’s error_log?
 * I’ve had some trouble getting the configuration right with Google, because they
   have some very strict requirements on how you define the return URLs and whatnot.
 * What does the URL that you’re returned to look like? Does it match what Google
   is expecting? Any source-code output of the page (View Source)? Any server errors?
 * Hopefully we can figure that out.
 *  Thread Starter [joshuairl](https://wordpress.org/support/users/joshuairl/)
 * (@joshuairl)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/google-contacts-not-working/#post-4629282)
 * Here’s a link to picture of what I see after it’s on the /wp/wp-admin/tools.php?
   page=keyring&service=google&action=verify&state=2722&code=4/GeydjC3-4Q-xDbqOQvL-
   GLuclKba.gtd-TuT9tfYUmmS0T3UFEsPCmSSXiAI
 * [https://copy.com/pHEAU0EYAuIEe1sr](https://copy.com/pHEAU0EYAuIEe1sr)
 * Here is a link to picture of what I see when I look in firebug on that blank 
   screen.
 * [https://copy.com/fHWuzAGB2h3VKI0D](https://copy.com/fHWuzAGB2h3VKI0D)
 * Also, no errors are showing in the log files.
 *  Plugin Author [Beau Lebens](https://wordpress.org/support/users/beaulebens/)
 * (@beaulebens)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/google-contacts-not-working/#post-4629284)
 * Both of those links are asking me to log in?
 *  Thread Starter [joshuairl](https://wordpress.org/support/users/joshuairl/)
 * (@joshuairl)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/google-contacts-not-working/#post-4629293)
 * [https://www.copy.com/s/dUIX0r0CDpCFNcdX/Screen%20Shot%202014-02-19%20at%202.08.25%20PM.png](https://www.copy.com/s/dUIX0r0CDpCFNcdX/Screen%20Shot%202014-02-19%20at%202.08.25%20PM.png)
 * [https://www.copy.com/s/6UKVqrpbyVZSYEnO/Screen%20Shot%202014-02-19%20at%202.08.57%20PM.png](https://www.copy.com/s/6UKVqrpbyVZSYEnO/Screen%20Shot%202014-02-19%20at%202.08.57%20PM.png)
 *  Thread Starter [joshuairl](https://wordpress.org/support/users/joshuairl/)
 * (@joshuairl)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/google-contacts-not-working/#post-4629299)
 * Would it not make sense to attempt to integrate the Google Client library [https://github.com/google/google-api-php-client](https://github.com/google/google-api-php-client)
   
   Since they are deprecating a lot of this junk.
 *  [Simon Wheatley](https://wordpress.org/support/users/simonwheatley/)
 * (@simonwheatley)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/google-contacts-not-working/#post-4629575)
 * I can see two issues currently. The first is that the Google Contacts class sets`
   const NAME = 'google-contacts';`, but then uses a URL parameter for service of
   just `google`. I changed this on lines 165 and 179, see: [https://github.com/cftp/keyring/commit/854022000fac7241024af6b47a2d4287bd012de0](https://github.com/cftp/keyring/commit/854022000fac7241024af6b47a2d4287bd012de0)
 * Then I hit a thornier issue, which I’m not sure how to fix. The `state` parameter
   is missing from the GET parameters, so the validation in `verify_token` fails.
   I’m not sure whether this parameter should be set by Google or in the return 
   URL we specify when setting up the service. Any suggestions, [@beaulebens](https://wordpress.org/support/users/beaulebens/)?
 *  Plugin Author [Beau Lebens](https://wordpress.org/support/users/beaulebens/)
 * (@beaulebens)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/google-contacts-not-working/#post-4629577)
 * I’ve made some changes in trunk to address these 2 issues Simon, thanks for spotting
   them. I need to do some more complete testing yet, but I’m hoping to roll this
   into 1.6 which should be out this week.
 *  Plugin Author [Beau Lebens](https://wordpress.org/support/users/beaulebens/)
 * (@beaulebens)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/google-contacts-not-working/#post-4629578)
 * I’ve verified that with the latest changes from trunk, Google Contacts is working
   now. The instructions are a big off if you’re using the new Google Developers
   Console thing, but if you set everything up, I get a clean auth flow now.

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

 The topic ‘Google Contacts not working?’ is closed to new replies.

 * ![](https://ps.w.org/keyring/assets/icon-256x256.png?rev=1824013)
 * [Keyring](https://wordpress.org/plugins/keyring/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/keyring/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/keyring/)
 * [Active Topics](https://wordpress.org/support/plugin/keyring/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/keyring/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/keyring/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [Beau Lebens](https://wordpress.org/support/users/beaulebens/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/google-contacts-not-working/#post-4629578)
 * Status: resolved