I received feedback from two users who use Google Apps for your Domain saying that they cannot authenticate.  The reason for this is a mistake on my end that only allowed Google Accounts (ending in gmail.com).  I believe I have fixed this, although I do not have a way to test it.

If you want to fix it yourself before the next release, follow the steps below

  1. Delete the synced address book (Google Contacts) and close the Address Book window
  2. Go to Tools -> Add-ons -> Preferences/Options and click the button to remove your authentication token.
  3. Close Thunderbird
  4. Find your Thunderbird Profile Folder
  5. Go to the Extensions folder and then the gcontactsync at pirules.net folder
  6. Open the content folder
  7. Edit gdata.js with your favorite text editor
  8. Find this text shown below around line 50 and replace accountType=GOOGLE with accountType=HOSTED_OR_GOOGLE
  9. Save the file and re-open Thunderbird and the Address Book window
  10. Login
  makeAuthBody: function(aEmail, aPassword) {
    return "accountType=GOOGLE&Email=" + aEmail + "&Passwd=" + aPassword +
             "&service=cp&source=Josh-gContactSync-0-1a1";
  },

2 Comments

bobwool · August 6, 2008 at 10:36 AM

Josh,

The tweak worked as I was able to populate an empty Google Apps for Your Domain contact list with over 300 contacts from one of my T-bird address books. I then changed some stuff in my T-bird contacts and re-synced – the changes made it up to my Google contacts! Pretty sweet – I had been looking for something like this for over a year. Hope you continue working on it.

pi · August 6, 2008 at 11:50 AM

I’m glad to hear that it worked, thanks for letting me know!

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.