Authenticate multiple symfony2 firewalls with one login form
问题 I have two firewalls: api (for API calls) main (for everything else) My client app login happens via the main firewall. However, it does interact with endpoints under the api firewall to fetch data. The problem here is that I don't want to force the user to log in a second time for authenticating against the second firewall. How can I authenticate against both firewalls with just a single login form? 回答1: Perhaps you could try the 'context' firewall property. Say you have a configuration