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 always thought that if my token isn't valid I can't get next middleware. Is it correct logic?!
But I'm using your middleware and it isn't working how I thought.
It depends upon if you have opts.passthrough set. If opts.passthrough is truthy, then downstream middleware still gets executed but ctx.state does not get populated with the decoded token.
Are there any problems you are experiencing? If so, can you give code examples and I'll see if I can help.
I always thought that if my token isn't valid I can't get next middleware. Is it correct logic?!
But I'm using your middleware and it isn't working how I thought.
petkaantonov/bluebird#476
Do you know about it?
The text was updated successfully, but these errors were encountered: