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
Not sure if this extends to other error cases, but when a malformed Bearer token is sent to .validate(token, callback), the error object passed to the callback is a string value of Not a valid JWT token
expected behaviour:
Invalid JWT token values result in an error object with keys name and message like other error objects
The text was updated successfully, but these errors were encountered:
I'm currently having the same issue, I verified all my info and it's correct, Cognito region, pool id, and token user, but I'm still getting this issue.
Not sure if this extends to other error cases, but when a malformed Bearer token is sent to
.validate(token, callback)
, the error object passed to the callback is a string value ofNot a valid JWT token
expected behaviour:
name
andmessage
like other error objectsThe text was updated successfully, but these errors were encountered: