Correct way of checking if a jwt token has expired in passport jwt

后端 未结 0 635
悲&欢浪女
悲&欢浪女 2021-01-13 12:11

I have a created a middleware to check if the jwt token has expired.

For some reason the TokenHasExpiredError is not intercepted as an error in

相关标签:
回答
  • 消灭零回复
提交回复
热议问题