admin管理员组文章数量:1122846
Actually i want my jwt to get expired after a day but the problem is, I can't use the verify function on frontend, so i decided to store another field as expiry_date which will store the current date or time of the system and when user comes another time on my website, since it will check the jwt from cookie and there it will check for expiry by comparing the current date and time with the jwt's and if its difference is more than 1 day then it will logout the user, but the problem is that what if user changes the date and time of the system in that case what can we do.
I want the solution of how the real world website deals with this problem of checking the jwt on frontend
本文标签:
版权声明:本文标题:rendering - how can i check that the jwt is expired or not on the frontend, how the real world websites check it on frontend - S 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736302816a1931667.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论