{"issue":{"title":"Login not working","user":{"login":"stoefln","id":562800,"url":"https://api.github.com/users/stoefln","avatar_url":"https://secure.gravatar.com/avatar/a5094081ee9edda9d3e8cf646e749e3e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a5094081ee9edda9d3e8cf646e749e3e"},"created_at":"2011-08-15T22:01:17Z","milestone":null,"labels":[],"state":"open","updated_at":"2011-12-24T10:38:13Z","id":1410982,"html_url":"https://github.com/FriendsOfSymfony/FOSFacebookBundle/issues/59","pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"closed_at":null,"body":"Sorry guys, but login is still not working. I get \"The Facebook user could not be retrieved from the session.\"\r\nAny ideas how to debug this?\r\n\r\nMy configuration:\r\n<pre>\r\nsecurity:\r\n    encoders:\r\n        Symfony\\Component\\Security\\Core\\User\\User: plaintext\r\n\r\n    role_hierarchy:\r\n        ROLE_ADMIN:       ROLE_USER\r\n        ROLE_SUPER_ADMIN: [ROLE_USER, ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH]\r\n\r\n    factories:\r\n          - \"%kernel.root_dir%/../vendor/bundles/FOS/FacebookBundle/Resources/config/security_factories.xml\"\r\n\r\n    providers:\r\n        in_memory:\r\n            users:\r\n                user:  { password: userpass, roles: [ 'ROLE_USER' ] }\r\n                admin: { password: adminpass, roles: [ 'ROLE_ADMIN' ] }\r\n        fos_userbundle:\r\n            id: fos_user.user_manager\r\n        fos_facebook:\r\n            id: my.facebook.user\r\n\r\n    firewalls:\r\n        dev:\r\n            pattern:  ^/(_(profiler|wdt)|css|images|js)/\r\n            security: false\r\n        login:\r\n            pattern:  ^/login$\r\n            security: false\r\n\r\n        public:\r\n            pattern:   ^/.*\r\n            fos_facebook: \r\n                provider: fos_facebook\r\n                check_path: /validate/facebook\r\n            form_login:\r\n                provider: fos_userbundle\r\n                check_path: /login_check             \r\n            anonymous: true\r\n            logout: true\r\n\r\n\r\n</pre>","number":59,"url":"https://api.github.com/repos/FriendsOfSymfony/FOSFacebookBundle/issues/59","comments":43,"assignee":null},"comment":{"user":{"login":"stof","id":439401,"url":"https://api.github.com/users/stof","avatar_url":"https://secure.gravatar.com/avatar/7894bbdf1c05b18a1444ad8c76c9d583?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"7894bbdf1c05b18a1444ad8c76c9d583"},"created_at":"2011-12-24T10:38:13Z","updated_at":"2011-12-24T10:38:13Z","id":3267319,"body":"Your login path and check path for fos_facebook are wrong. You are giving regexes whereas the only valid values are paths or route names","url":"https://api.github.com/repos/FriendsOfSymfony/FOSFacebookBundle/issues/comments/3267319"},"action":"created"}