How to use OpenID+OAuth in my website?

Posted by Yuan on Stack Overflow See other posts from Stack Overflow or by Yuan
Published on 2011-01-04T13:52:34Z Indexed on 2011/01/04 13:53 UTC
Read the original article Hit count: 168

Filed under:
|
|
|

I want to log in my website by using google account, now i can use google account to log in(by OpenID), but i don't know how to get user account and information in google? Just like below link(which is provided by google)

http://googlecodesamples.com/hybrid/

This link can log in by user's google account, and list all the documents in user's google doc, so i guess by using OAuth can let me get user's account(such as [email protected]) and get relative information, but i don't know how to do?

PS. I use php to write my website

© Stack Overflow or respective owner

Related posts about php

Related posts about google