How to implement Google OpenID authentication in PHP & Test on Localhost

18,012

Solution 1

I'd suggest using LightOpenID. It's small, easy to use, and has working examples. You probably won't need a tutorial to use it.

Another answer suggests using php-openid, but in my opinion, it's too complicated and has too many dependencies (it is, however, more powerful).

Solution 2

use this library http://www.openidenabled.com/php-openid/
for the specs and architecture http://wiki.openid.net/
a simple tutorial will be http://remysharp.com/2007/12/21/how-to-integrate-openid-as-your-login-system/

Share:
18,012
Admin
Author by

Admin

Updated on June 17, 2022

Comments

  • Admin
    Admin almost 2 years

    I am new to OpenID, and want to implement Google OpenID authentication on my website. I could not found any examples.

    Can anyone suggest me some good tutorials (step by step) or any working example with code to implement Google OpenID authentication using PHP.