This file is responsible for handling authentication error and success messages that are shown on the auth-status/error and auth-status success pages.
token-expired
is the name of the error. In order to show a specific error page, redirect the user to the /auth-status?mode=token-expired
route which will then show the appropiate badge, title, etc.