When using an alternative user provider / login (FOSUserBundle) handler as per documentation at https://doc.ez.no/display/EZP/How+to+authenticate+a+user+with+multiple+user+providers and https://github.com/FriendsOfSymfony/FOSUserBundle/blob/1.3.x/Resources/doc/index.md , some internal redirects (such as redirect to login, failed login_check, etc) will cause an exception.
It appears the SiteAccess/Router expects a siteaccess string and is receiving an object instead.
- Install and configure FOSUserBundle as documented
- configure firewall
- Create a new user
- Try to login with an invalid password (if all is properly configured, login with valid credentials should still work).
Stack trace attached.