Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

Token refresh #49

Open
kszpirak opened this issue Dec 5, 2017 · 0 comments
Open

Token refresh #49

kszpirak opened this issue Dec 5, 2017 · 0 comments

Comments

@kszpirak
Copy link

kszpirak commented Dec 5, 2017

Hi

Cognito requires token refresh at least every once per hour. It invalidates token after 1 hour. So my question is this, can this app automatically obtain refreshed token if the last token refresh happened more than say 45 minutes ago? Also since it is an app, if the user puts the app to the background, the refresh will not happen if we are using something like setInterval to get new token. Are these token related issues best solved? Official AWS starter app from Ionic has absolutely no support for token refresh. Great job on this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant