Symfony2 http_basic security rejects valid credentials
I use Symfony Standard 2.0.0BETA1 and tried to configure http_basic authentication exactly the same as in this book chapter security: encoders: Symfony\Component\Security\Core\User\User: plaintext providers: main: users: foo: { password: testing, roles: ROLE_USER } firewalls: main: pattern: /.* http_basic: true logout: true access_control: - { path: /.*, role: ROLE_USER } Problem is when I try to open a page and i submit user name "foo" and password "testing" it simply loops and ask me for credential infinitely or display error page. Steps to reproduce issue: Copy security configuration from