I have one site with few subdomains. domain.com, d1.domain.com, d2.domain.com, etc.
I've implemented authentication with FOSUserBundle and when I log in being on d1.domain.com and I go to d2.domain.com I'm not logged in. Any ideas how can I login to all subdomains?
You have to attach the cookie to a domain.
According to http://symfony.com/doc/current/reference/configuration/framework.html#cookie-domain
You should use something like