Is there a way in symfony2 to authenticate a user for a dynamic path?
For example, if I have a firewall like this:
main: pattern: ^/
and after the user's user path looks like /someSlug/... , is there an authentication method for this template only? so many users can be registered? Normally, if I knew bullets, I would set up a few firewalls
main1: pattern: ^/slug1/ main2: pattern: ^/slug2/
and it was done, but I need it dynamically, because I do not know how many slugs exist and what they are.
Any ideas?
source share