Using OpenID With Slim

I am trying to use Slim2 as a framework and Twig as the template engine for my project and I want to allow my users to Login/Register using their social accounts (Facebook/Google/Twitter/Others). For this purpose I’m trying to use OpenID but can’t get how to use it with Slim.

If anybody could help me please.


Can you provide an example of what you have tried doing so far? If you provide some code, someone should be able to help from there.

Thanks for replying!

I tried integrating this library here for steam authentication,

I included the required files in the app.php and using the loginbutton(); in the above library in my code but it fails.

We still need to see some sort of code example please.