We have implemented Azure Sign on into our MVC application using standart VS2013 wizard, kind of as described here. So now users are able to authenticate to our website using Azure AD.
Whenever user is using system and navigating thought different pages, everything is working great. However when user is working on same page for over 60 minutes we are starting to getting error. We are able to catch that error and have user to log back in, however this resets all of the users work. How can I refresh token if user is working on that page (not refreshing the page, but making ajax calls).
I feel like I am missing something here. Please advise,