Category: fosuserbundle

Access denied, the user is not fully authenticated; sonata admin on production mode

I keep getting logged out from sonata admin on the editing page of some specific objects. it works fine with ROLE_ADMIN but has a problem with my custom defined role. I had this in config.yml: session: # handler_id set to…

Using Symfony/FOSUserBundle, how can I redirect Locked users to a page other than the login form?

I have an existing system using Symfony 3.4 and FOSUserBundle 2.1.2. We have a concept of a Locked User (originally in FOSUserBundle but since that was removed now in our own bundle). Symfony core Security checks if the user is…