fix firewall to answer all login entry points#158
fix firewall to answer all login entry points#158bitgandtter wants to merge 31 commits intoFriendsOfSymfony:masterfrom bitgandtter:master
Conversation
…string for facebook auth
|
I don't understand why it should authenticate the user only when there is no query string. Thus, this will still authenticate for most pages. |
|
In the case that you have multiple authentication providers like the FOSTwitterBundle and Google or other OAth2 the entry point that its defined first in the firewall will response to the authentication process. Here an example of a firewall: firewalls: in this case twiitter never authenticate the user without this condition because facebook provider always answer. Maybe the condition need some work or extra validation, but with it if the authentication process dont have a query string then it leave the process and the next entry point in the firewall will intercept it. |
...ing for facebook auth