gregghz
gregghz

Reputation: 3965

Single Sign On with Google

I've recently implemented Facebook's api to login/register an account via the user's existing facebook account.

I now want to do the same thing with Google. Is there any examples of how to do this with the Zend_Gdata stuff? I've been looking, and I can't find the proper "scope" parameter to pass to get access to the user's account information. I assume I need to use ClientLogin and oAtuh, but I'm also finding lots of (unhelpful) information about AuthSub. Can someone guide me in the right direction?

Upvotes: 4

Views: 2549

Answers (2)

Tim Lytle
Tim Lytle

Reputation: 17624

Actually working through similar territory, only trying to use Google Apps accounts. I wanted to use Zend's OpenId, but even with the 'patches' it didn't work with Google Apps. I ended up using Janrain's OpenId library, extended with Google's code for their special discovery.

If you're just using normal Google accounts, you should be able to use the standard Janrain library - which should be able to get the profile details for you.

Upvotes: 1

gregghz
gregghz

Reputation: 3965

This has been resolved entirely using http://gitorious.org/lightopenid

Upvotes: 1

Related Questions