FOSFacebookBundle icon indicating copy to clipboard operation
FOSFacebookBundle copied to clipboard

InvalidConfigurationException

Open bitraft opened this issue 13 years ago • 3 comments

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"]

bitraft avatar Jan 10 '12 02:01 bitraft

the login path is a path, not a regex (same for the check path).

stof avatar Jan 10 '12 13:01 stof

If it is a path, then the document should be changed. I copy it form /README.md

bitraft avatar Jan 11 '12 01:01 bitraft

can you send a PR with your proposed fix?

lsmith77 avatar Jan 11 '12 08:01 lsmith77