Skip to content

Instantly share code, notes, and snippets.

@caefer
Created March 28, 2011 15:45
Show Gist options
  • Select an option

  • Save caefer/890691 to your computer and use it in GitHub Desktop.

Select an option

Save caefer/890691 to your computer and use it in GitHub Desktop.
21 # FacebookBundle Configuration
22 fos_facebook:
23 file: %kernel.root_dir%/../vendor/facebook/src/facebook.php
24 alias: facebook
25 app_id: xxxxx
26 secret: xxxxx
27 cookie: true
28
29 # Security Configuration
30 security:
31 factories:
32 - "%kernel.root_dir%/../vendor/bundles/FOS/FacebookBundle/Resources/config/security_factories.xml"
33
34 providers:
35 fos_facebook_provider:
36 id: fos_facebook.auth
37
38 firewalls:
39 public:
40 pattern: /.*
41 fos_facebook: true
42 anonymous: true
43
44 only_facebook: # with facebook entry point (redirect to the facebook login url)
45 pattern: /Main
46 fos_facebook: true
@lsmith77

Copy link
Copy Markdown

hmm maybe the firewalls have to be ordered differently?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment