Using “normal” — not “remember me” authentication — I can set a success and failure handlers, adding this to the security.yml
file:
form_login:
# ...
success_handler: authentication_handler
failure_handler: authentication_handler
But I couldn't find a way for listening for “remember me” reauthentication, when a user's session is expired and a “remember me” cookie is used to reauthenticate again. Any ideas on how can I achieve this?