Can't Authenticate to Multiple Blogger Blogs
  • I use the same Google account for several different Blogger blogs. None of them work with MarsEdit 1.2. I get errors like the following when trying to retrieve a list of posts:

    RPC message sent: 2007-07-25 22:01:22 -0700
    URL: https://www.google.com/accounts/ClientLogin
    Method name: Google ClientLogin Authentication
    RPC reply received: 2007-07-25 22:01:22 -0700
    URL: https://www.google.com/accounts/ClientLogin
    Method name: Google ClientLogin Authentication
    Status code: 403
    Succeeded: NO
    --Fault Error--
    Fault code: 403
    Fault string: Error=BadAuthentication

    Response text:
    Error=BadAuthentication


    RPC message sent: 2007-07-25 22:01:23 -0700
    URL: https://www.google.com/accounts/ClientLogin
    Method name: Google ClientLogin Authentication
    RPC reply received: 2007-07-25 22:01:23 -0700
    URL: https://www.google.com/accounts/ClientLogin
    Method name: Google ClientLogin Authentication
    Status code: 403
    Succeeded: NO
    --Fault Error--
    Fault code: 403
    Fault string: Error=BadAuthentication

    Response text:
    Error=BadAuthentication

    Having played with Blogger/Google's authentication for a blog import script, I found that there's an issue when a user has both a regular Google account and a Google Apps For Your Domain account with the same email address, which I do. When working with the Google-provided gdata Python libraries, I had to say:

    blogger_service.account_type = 'GOOGLE'

    ...in order to ensure that my script wasn't trying to authenticate against the Google Apps account, which can't be used for Blogger. I'm not sure what that's doing at the HTTP level when talking to Google auth, but it made all the difference. Would it possible to do the same in MarsEdit so those of us with dueling Google accounts can still make use of it?
  • Thanks for pointing this out. I think I misinterpreted that constant at first. You're right that in MarsEdit I use "HOSTED_OR_GOOGLE" as the authentication type. It sounds like switching it to GOOGLE is the right thing to do, but of course I'm a little nervous since I wonder if there is any legitimate need for the "hosted" angle as it pertains to MarsEdit.

    Skimming the Blogger developer mailing list, it sounds like they're pretty much confined to the "BLOGGER" realm. I will update this forum entry soon with more info about what I decide to do.
  • al3x - do you want to try this beta release of MarsEdit and let me know how the fix works for you?

    http://www.red-sweater.com/marsedit/MarsEdit1.2.1b1.dmg

    There are a few other teeny changes in there but not many. If it works for you I'll probably release a public update soon.

    Daniel
  • That new release works great. Thanks for the quick turnaround!
  • Great! Thanks for letting me know. I am feeling more and more confident about the change, and have hedged bets with an undocumented preference key in case anybody desperately needs to go back to "HOSTED_OR_GOOGLE" ... so this will probably go live in a public release soon.
Start a New Discussion

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!