By the way: after upgrading to BETA2 yesterday, authentication does
not work anymore. I think there is some issue with the oAuth
conversion of the facebook API...


On May 25, 3:09 pm, Stephan Petzl <stephan.pe...@gmail.com> wrote:
> my firewall configuration looks like this:
>
>     firewalls:
>         wdt:
>             pattern:  ^/_wdt
>             security: false
>         login:
>             pattern:  ^/login$
>             anonymous: true
>         profiler:
>             pattern:  ^/_profiler
>             security: false
>
>         public:
>             pattern:   ^/.*
>             fos_facebook:
>                 provider: fos_facebook
>                 check_path: /validate/facebook
>             form_login:
>                 provider: fos_userbundle
>                 check_path: /login_check
>             anonymous: true
>             logout: true
>
> BR Stephan
>
> On May 23, 4:00 pm, symfonyMan <ezziani.cha...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hello,
>
> > i would like to integrate FOSFacebookBundle in my SF2 web site, i have
> > already my user bundle with user entity and userManager.
>
> > my problem is how to configure my security firewall ??
>
> > i have this :
> > providers:
> >         in_db:
> >             entity: { class: MyCoreBundle:User, property: email }
> >         fsc_fos_facebook_provider:
> >               id: fsc.facebook.user.provider
>
> >     firewalls:
> >         account:
> >             provider: in_db
> >             pattern : ^/
> >             form_login:
> >                 check_path: /login_check
> >                 login_path: /login
> >                 default_target_path: /home
> >                 provider: in_db
> >                 #use_referer: true
> >                 remember_me: true
> >             logout:
> >                 path:   /user/logout
> >                 target: /
> >             anonymous: true
>
> > how can i enable the login with my custom provider and give the users a
> > choice if they wants to login with facebook ??
>
> > thanks in advance

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to