How to authenticate on 2 different symfony2 firewalls at the same time?
I have a Symfony application with 2 areas, one for clients accessing from a web page an other for API calls from AJAX and web services. Each one of this areas is protected with a firewall on its own. The WEB interface is authenticated with a log in form and the API with http_basic . Both firewalls work fine, but when the WEB interface makes an AJAX call to the API interface, then the browser prompts the user to log in again, even when he was already logged in (via log in form). This is what I want to avoid. I Would like that both firewalls were authenticated at the same time to prevent this