You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've started testing my application outside of Chrome and started receiving the error regarding Error.capturestacktrace is not a function.
I have both the latest Firefox and Safari. The token verification works fine on the latest version of Chrome. This error occurs specifically after the token is expired and I attempt to verify it.
The token verification below is executed during specific route transitions on the client side. The error caused prevents me from logging inside of the verification callback.
jwt.verify(token,secret,function(err,verifiedJwt){if(err){if(err.name==="TokenExpiredError"||err.name==="JsonWebTokenError"){next("/logout");}}else{//Refresh token if it is not expiredstore.dispatch("REFRESH_TOKEN",token);}});