How to detect a Google Apps domain?

39 views
Skip to first unread message

Daniel Florey

unread,
Nov 16, 2011, 11:36:54 AM11/16/11
to google-a...@googlegroups.com
Hi,
I'd like to find a proper approach how to detect a Google Apps user/domain name.
I'm using OpenID and users are logging in with transitioned Google Apps accounts.

Any ideas?

Thanks,
Daniel

bbaychev

unread,
Nov 16, 2011, 2:06:05 PM11/16/11
to Google App Engine
Use this example, there is a Python example as well:
http://code.google.com/appengine/docs/java/gettingstarted/usingusers.html

Timofey Koolin

unread,
Nov 16, 2011, 2:06:49 PM11/16/11
to google-a...@googlegroups.com
For example header "Server: Google Frontend" in http-response
or cname to ghs.google.com be dns request for domain.

2011/11/16 Daniel Florey <daniel...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/BH_ypgMu0UUJ.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.



--
Blog: www.rekby.ru

Matthew Blain

unread,
Nov 17, 2011, 4:43:49 PM11/17/11
to Google App Engine
I'm not sure if you can easily identify this from a Federated Login
account.
If you are using Google Accounts for your app, you can see the
information in the USER_ORGANIZATION for the currently logged in user.
The article at http://code.google.com/appengine/articles/auth.html
should be updated soon to reflect this.

On Nov 16, 11:06 am, Timofey Koolin <timo...@koolin.ru> wrote:
> For example header "Server: Google Frontend" in http-response
> or cname to ghs.google.com be dns request for domain.
>
> 2011/11/16 Daniel Florey <daniel.flo...@gmail.com>
Reply all
Reply to author
Forward
0 new messages