Skip to content

We can use common logic for token expiry checking and refreshing token #148

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sachin-maheshwari opened this issue Aug 11, 2020 · 0 comments

Comments

@sachin-maheshwari
Copy link
Contributor

Example -

return !AuthService.getTokenV3() || jwtHelper.isTokenExpired(AuthService.getTokenV3(), 300);

We can use account-app - https://github.com/appirio-tech/accounts-app/blob/dev/core/token.js#L41

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

No branches or pull requests

1 participant