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