Oauth2 in Symfony2 Oauth2 in Symfony2 symfony symfony

Oauth2 in Symfony2


Two years later, but for all who might step over this link while searching for a solution:

The new OAuth2 package for client integration in Symfony2 is the HWIOAuthBundle, the KNPLabs is no longer maintained. - the server pendant is the FOSOAuthServerBundle.


Facebook is using OAuth2, I guess you can easily make a Foursquare bundle based on the FacebookBundle.


Guzzle is a really good client to do http request with objects.

You can add guzzle-oauth2-plugin to handle OAuth easily. There is a tutorial if you need help.