-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
TokenError: Code is invalid or expired #974
Comments
How to handle TokenError ? Passing err to the argument and the if(err) condition didn't help anywhere. |
It sounds like your token is just expiring. You would need to refresh it with something like passport-oauth2-refresh. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello.
I use authorization method - https://www.passportjs.org/packages/passport-vkontakte/
And authorization works for me, but sometimes an error pops up and the application crashes.
What could be the problem? Here is the code.
Error screen - https://ibb.co/mJB1JsY
The text was updated successfully, but these errors were encountered: