I would like to redirect the user successfully logged on two specific pages and only based on roles. User on /client and Admin on /admin. I'm using FOSUserBundle 2.1 and Symfony 4.
I don't know what event to use to be able to catch the token and to give a Response redirection.
With security.authentication.success or security.interactive_login i can't give a event response to redirect the user.