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

后端 未结 2 775
栀梦
栀梦 2021-01-31 17:44

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

相关标签:
2条回答
  • 2021-01-31 17:58

    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/

    0 讨论(0)
  • 2021-01-31 18:02

    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).

    0 讨论(0)
提交回复
热议问题