You should use the Users API using the OpenID option.

Then you can log in both accounts passing different parameters to the
createLoginURL method

https://www.google.com/accounts/o8/id          -- >for gmail
https://www.google.com/accounts/o8/site-xrds?hd=$DOMAIN   -->
substituting your domain name to $DOMAIN

A good guide is at 
http://super-easy.blogspot.com/2010/05/using-openid-in-java-on-gae.html

Regards
Lorenzo

On Jul 3, 9:18 am, Robert Kluin <[email protected]> wrote:
> About the only way would be OAuth.
>
> There are several items in the issue tracker related to this topic.
> And it comes up on the forum from time-to-time as well.
>
> Robert
>
> On Thu, Jul 1, 2010 at 6:52 PM, Uros Trebec <[email protected]> wrote:
> > Hello everyone!
>
> > I apologize in advanced if this topic was already covered, I couldn't
> > hunt it down.
>
> > So, to the point:
> > I'm developing a public application that requires users to log in at
> > some point. Currently my application's Settings are set to use "Google
> > Accounts API" for authentication. This has a less desirable effect of
> > not being able to use my Google Apps account (not the same domain as
> > the application) to authenticate as a user.
>
> > I wonder if there is _any_ way to enable both "users" to authenticate?
> > Maybe using OAuth authentication option?
>
> > Thanks for reading and I hope someone can help.
>
> > Best regards,
> > Uros Trebec
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Google App Engine" 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 
> > athttp://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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/google-appengine?hl=en.

Reply via email to