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

后端 未结 2 798
栀梦
栀梦 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 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).

提交回复
热议问题