CookieAuthenticationProvider Token expires when a user is filling out a large form – need to refresh token somehow on user page activity
I set my cookie to expire after 20 minutes if no activity occurs this 20 minutes is the max limit I am allowed to set on my cookie auth token. For example the token refreshes when the user navigates from one page back to the home screen.