I need one help related to Auth Token Expiry. I have one access token whose expiry is 30 minutes. As I am used doing something/some activity till 30 minutes . Now my token expired , at 30th minutes I called the service to fetch all users but at this time my tokes was expired . So how to handle this situation. 1. Do i allow the application to fetch the users List with expired token ? 2. Should I regenerate the token sent back to browser ,stored in LocalStorage and call the service again.?
Note: While doing this User should not know that application token expired.This all should be done in Asynchronous manner.
Thanks, Rahul