Symfony authentication on oAuth with FOSUserBundle

Go To StackoverFlow.com

4

I'm using FOSUserBundle to authenticate users from database and now I want add authentication through oAuth services(like Facebook, Twitter and others). How to do this in best way?

2012-04-05 19:34
by nucleartux


3

I found this bundle https://github.com/hwi/HWIOAuthBundle/ It should solve my problem.

2012-05-04 10:11
by nucleartux
Did that really solve your problem? What you needed, if I didn't get it wrong, is to serve an authorization system implementing OAuth, didn't you? Both FOSFacebookBundle and HWIOAuthBundle help you with the consumption of other providers from your site, and not with the issue of serving an OAuth securing method to your database. Please, could you explain a little further how did you finally manage with all this? Thanks a lo - ElPiter 2012-09-17 08:09


2

Have a look at the FOS Facebook bundle: https://github.com/FriendsOfSymfony/FOSFacebookBundle

They already solved your problem :)

2012-04-12 14:44
by eReiche
But I need oauth, not only f - nucleartux 2012-04-13 06:52


1

There are many solutions for OAuth in Symfony2:

As a client (to authenticate with Facebook, Twitter or Google):

FOSFacebookBundle, FOSTwitterBundle or HWIOAuthBundle

I highly recommend HWIOAuthBundle (https://github.com/hwi/HWIOAuthBundle/), if you're looking for oAuth authenthication only.

And there is a solution for OAuth server:

FOSOAuthServerBundle (https://github.com/FriendsOfSymfony/FOSOAuthServerBundle/).

2013-03-05 08:11
by Alfonso Tienda
Ads