Massimiliano Arione
Massimiliano Arione

Reputation: 2466

InvalidConfigurationException with FOSFacebookBundle

Following the docs in the bundle, I get this exception:

InvalidConfigurationException: Unrecognized options "fos_facebook" under "security.firewalls.main"

It looks like documentation in #6 is wrong, but I see (also here in StackOverflow) that many people used "fos_facebook" option succesfully. My Symfony version is 2.0.9 (currently last one)

Upvotes: 0

Views: 758

Answers (1)

Michael Sauter
Michael Sauter

Reputation: 271

Check that you have configured the factories option correctly, like so:

security:
  factories:
    - "%kernel.root_dir%/../vendor/bundles/FOS/FacebookBundle/Resources/config/security_factories.xml"

Upvotes: 5

Related Questions