FOSFacebookBundle
FOSFacebookBundle copied to clipboard
InvalidConfigurationException
Follow the document, I got this :
InvalidConfigurationException: Invalid configuration for path "security.firewalls.public": The check_path "^/facebook/login_check$" for login method "fos_facebook" is not matched by the firewall pattern "^/facebook/.*".
public:
pattern: ^/facebook/.*
fos_facebook:
login_path: ^/facebook/login
check_path: ^/facebook/login_check$
default_target_path: /mobile
provider: my_fos_facebook_provider
anonymous: true
logout:
handlers: ["fos_facebook.logout_handler"]
the login path is a path, not a regex (same for the check path).
If it is a path, then the document should be changed. I copy it form /README.md
can you send a PR with your proposed fix?