Hi. I want to implement an authentication system on my web site using OpenID so that users will log in with Facebook or Google.
A working example would be nice.
Most libraries are outdated and I am trying to use the following library, but the tutorial is terrible and doesn’t explain how to redirect the user to login page and doesn’t explain the basic concepts of OpenID.
This is what I need to do, but I don’t know how to do:
-Check if the user has logged in.
-Put a button that sends the user to a page where they can log in with Facebook or Google.
-Write a PHP page that receives the response from OpenID.
Thanks for any help.