I use Trusted Authentication and JSAPI.
I receive trusted ticket while my page is loading.
When session is over and some interaction occurred with the embedded view then the view is reloaded and I see the login page. But, in this case, I like to reload my page to start new trusted session.
The question is what mechanism in js I should use to listen this event.
That shouldn't happen. Once a ticket is requested, you have 3 minutes (by default) to use it. Once it is used, it shouldn't make your session invalid anymore. Remember that a ticket is used for a single view only. You should be able to navigate to different tabs but if your workbook links to another workbook, that won't work.