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.
Whether you use the JWT operations or the traditional operations that create opaque string tokens, the basic use of the OAuthV2 policy is the same. You can use JWT access tokens with all of the supported OAuthV2 grant types. See also Introduction to OAuth 2.0.
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).
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/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With