Identity Manager and persisted credentials

Discussion created by mattlane86 on Aug 26, 2013
I am working on a multi-page site that incorporates client-side credential persistence. The sample got me started, but I modified it to store immediately on login so that it is available on sub-pages when clicked.

The problem arises after the site is open for 60 minutes. The token invalidates and the identity manager automatically re-prompts for login.

Are there no events for this auto-re-login so that I can re-store the credential? Is there some way I can extend an ESRI object to emit an event when a new token is retrieved?