symfony/symfony-docs — Issue #1033: A Token was not found in the SecurityContext
Author: cestcri
Created: 2012-01-27 13:17:42+00:00
State: open

I followed the tutorial step by step, and everything seems to be alright.

But once I access the protected area (see my security settings below) I get a "A Token was not found in the SecurityContext". Any idea what's wrong? Maybe I miss something, or it's maybe the cookbook entry that is not explicit enough at one point?

firewalls:
dev:
pattern: ^/(_(profiler|wdt)|css|images|js)/
security: false

login:
pattern: ^/login$
security: false

wsse_secured:
pattern: ^/test.json$
wsse: true