amazon-archives / amazon-cognito-auth-js

The Amazon Cognito Auth SDK for JavaScript simplifies adding sign-up, sign-in with user profile functionality to web apps.
Apache License 2.0
424 stars 232 forks source link

Could we refresh the session in the background? #172

Closed kelp404 closed 5 years ago

kelp404 commented 5 years ago

The expiration of the session is just one hour. It is really too short. When it is expired, we need to call .refreshSession(refreshtoken). And .refreshSession(refreshtoken) will refresh the page. Could it refresh the session in the background? (like work with ajax)

kelp404 commented 5 years ago

Sorry. It is work with ajax.