Open xonarin opened 1 year ago
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.
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