You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I know Cognito token expires in 1 hr. So if the app stays idle for 1+ hrs on protected route (while user is signed in and on restricted page) and then user clicks something does it renews token automatically & then performs the request?
For example if request goes to AWS Gateway API which checks user over Cognito - error going to be returned if token is expired.
Thank you.
The text was updated successfully, but these errors were encountered:
Hi David,
how do you handle token expiration?
As I know Cognito token expires in 1 hr. So if the app stays idle for 1+ hrs on protected route (while user is signed in and on restricted page) and then user clicks something does it renews token automatically & then performs the request?
For example if request goes to AWS Gateway API which checks user over Cognito - error going to be returned if token is expired.
Thank you.
The text was updated successfully, but these errors were encountered: