Determine type of user account and domain for Google Apps when using OpenId

2 views
Skip to first unread message

Vladimir Prudnikov

unread,
May 26, 2010, 11:20:10 PM5/26/10
to google-a...@googlegroups.com
I remember that User object had a method called auth_domain(). Now I can't find it int the documentation, so I think it was removed from an API. However this method still exists but always return "gmail.com" even if user logged in from Google Apps account.

If I use OpenID (user can login from regular google account and Google Apps account) how can I determine which user is logged in and especially domain name if it's a Google Apps user?

— Vladimir 

Reply all
Reply to author
Forward
0 new messages