Log out user when JWT has expired

后端 未结 0 1062
失恋的感觉
失恋的感觉 2021-02-04 00:43

After successful login I\'m storing a JWT in context/localStorage. I have my auth context setup like this. How can I use the token details iat and exp

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