Google single sign-on

I recently implemented a Facebook api to login / register an account through an existing facebook account.

Now I want to do the same with Google. Are there any examples of how to do this with Zend_Gdata? I searched and I cannot find a suitable "scope" parameter to access the user account information. I suppose I need to use ClientLogin and oAtuh, but I also find a lot of (useless) information about AuthSub. Can someone lead me in the right direction?

+4
source share
2 answers

This is fully resolved using http://gitorious.org/lightopenid

+1
source

In fact, it works through a similar territory, only trying to use Google Apps accounts. I wanted to use Zend OpenId, but even with patches it didnโ€™t work with Google Apps. I ended up using the Janrain OpenId library , supplemented by Google code for their special discovery .

If you use regular Google accounts, you should be able to use the standard Janrain library, which should be able to get the profile information for you.

+1
source

All Articles