Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.2k
Closed
Description
Hi,
I've just followedthis cookbook entry.
However I'm encountering an issue when pretty much exactly following it: anAuthenticationCredentialsNotFoundException
is raised.
In my understanding the issue is that we should be doing something, returning prematurely in the listener is relevant only if another firewall is enabled, otherwise we end up having a 500 error.
This is not the case of the tutorial (the firewall is set for a very precise URL pattern): I guess we should be returning a 403 error, isn't it? And eventually adding a note to explain it.
I'm ok about submitting a PR if we agree upon the fix.