Question about GAE authentication options

36 views
Skip to first unread message

Rishi Arora

unread,
Jul 28, 2011, 10:58:41 AM7/28/11
to google-a...@googlegroups.com
I have an android app that authenticates with my GAE app using "Google Accounts" authentication.  Here's a snippet from app engine documentation:
"Google Accounts: is Google's unified sign-in system. All a user needs is a valid email address (it doesn't need to be a Gmail address!) to sign up for a Google Account"

I use the android AccountManager.getAccountsByType('com.google") call to determine all the eligible accounts on the android device, that can be used to authenticate with my GAE app.  However, the getAccountsByType only returns a list of Gmail accounts, and omits google app accounts on private domains.  I was hoping that since my GAE authentication scheme uses "Google Accounts", and the snippet above says "it doesn't need to be a Gmal address", that the getAccountsByType android API will return google app accounts as well, which users could use against my GAE app.  Anyone know why my getAccountsByType() API is behaving this way?  Is there a different type string - other than "com.google" that I need to pass to get google app accounts hosted on private domains?

Thanks
- Rishi

Rishi Arora

unread,
Jul 28, 2011, 11:43:49 AM7/28/11
to google-a...@googlegroups.com
My bad!  type="com.google" does return google app accounts.  I had a gmail.com filter, which I totally forgot about.  Google App accounts can authenticate with GAE just as well as regular Gmail accounts - just as the documentation says.
Reply all
Reply to author
Forward
0 new messages