Authentication With Twitter


I am trying to handle client authentication with twitter. While researching for a solution, I found a plenty of authentication guides/code for ember, but all of them assume that the application hosts the user information used to authenticate. this is not the case when relying on a third party service. protecting the path to the ember application solves the problem when you initially log in. but how to handle the situation when the session is revoked or stale? other than refreshing the page.

any advice or insight is greatly appreciated.