On Apr 19, 3:24 pm, Ford <[email protected]> wrote:
> Eric,
>
> Yup, that fixed my problem.  Thanks!
>
> I went with suggestion #2 since that requires the least amount of work
> for users of my app.
>
> Maybe the libraries could default accountType to "GOOGLE" in their
> health subclasses since, as far as I can tell, one would never want to
> use "HOSTED_OR_GOOGLE" or "HOSTED" in the context of Google Health.

Not a bad idea.

>
> Best,
> Ford
>
> On Apr 19, 3:46 pm, "Eric (Google)" <[email protected]> wrote:
>
> > I believe this post describes the 
> > problem:http://groups.google.com/group/Google-Base-data-API/browse_thread/thr...
>
> > This is an inherent problem with ClientLogin
> > that only affects a small set of users (i.e. users that
> > have both a Google Account and a Google Apps (hosted)
> > account with the same email address.  BTW,
> > even the passwords can be the same!
>
> > By default, the client libraries use HOSTED_OR_GOOGLE
> > for the accountType parameter.  That means that
> > the Google will attempt to authenticate the
> > Google Apps account first, it will be a valid,
> > and we'll expect 'SCHOOL123' as the password.
>
> > My suggestions:
> > - setup a new Google account with an entirely
> >   different email address.
> > - Modified the ClientLogin accountType param to be GOOGLE
> >   instead of leaving it as HOSTED_OR_GOOGLE.
>
> > Eric
>
> > On Apr 18, 8:30 pm, Ford <[email protected]> wrote:
>
> > > I think I've found a problem with the way ClientLogin works with
> > > Google Accounts that are linked to "Google Apps for your Domain"
> > > emails.
>
> > > In short, it looks like ClientLogin is accepting the wrong password,
> > > then displaying an empty health record.
>
> > > For example:
>
> > > My school uses GAfyD.  My email there is <[email protected]>,
> > > password "SCHOOL123".  I sign up for a Google Account (not Gmail, just
> > > the Google Account) with that <[email protected]> email address
> > > and a different password "HEALTH123".
>
> > > So, I go to the Google Health website, enter my email and the
> > > "HEALTH123" password.  All is well, I am able to read and modify my
> > > profile.  Cool.
>
> > > ClientLogin, however, does not accept my "HEALTH123" password.
> > > Instead, it accepts my "SCHOOL123" password, lists one entry in the
> > > profile list feed, and zero entries in the profile feed.  As far as I
> > > can tell, I'm looking at an uninitialized profile, separate from the
> > > populated one I see on the Google Health website.
>
> > > I would expect ClientLogin to use the same username/password as the
> > > actual Google Health website.  Can anyone else with a GAfyD email as
> > > their Google Health account recreate this issue?  A few users of my
> > > iPhone app (Health Cloud) encountered this issue too, so I know it's
> > > not just me.  I've also tested this in both the ObjC and Python GData
> > > libraries so I know it's not a library thing.
>
> > > Thanks,
> > > Ford
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Health Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/googlehealthdevelopers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to