Yes, you will need to use the federated login (OpenID) stuff.

The long-and-short of it is that you pass the federated_identity
parameter to users.create_login_url.  You'll need to setup a page for
users to tell you what goes in federated_identity somehow, perhaps by
clicking a google logo or entering an apps domain.

For Google accounts:
  users.create_login_url(federated_identity='google.com/accounts/o8/id')
  or
  users.create_login_url(federated_identity='gmail.com')

For an Apps account:
  
users.create_login_url(federated_identity='google.com/accounts/o8/site-xrds?hd=yourappsdomain.com')



There is a little info here:
  http://code.google.com/appengine/docs/python/users/overview.html

And Wesley has a nice article about it here:
  http://code.google.com/appengine/articles/openid.html

Some info on Google Apps domains and OpenID:
  
http://groups.google.com/group/google-federated-login-api/web/openid-discovery-for-hosted-domains?pli=1


Robert






On Tue, Oct 5, 2010 at 11:21, David <s2kd...@gmail.com> wrote:
> I'm having an issue with users not being able to authenticate with GAE
> using a Google Apps account.  Regular Google account users can access
> it fine.  How do I make it so it supports Google Apps logins in
> addition?  Do I need to use the Federated Login stuff in GAE?  It is
> currently not set to Federated because that makes it so neither Google
> Apps nor Google accounts work. Can anyone help me out?
>
> Thanks,
> David
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://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 google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to