gonboy
gonboy
the same question for me
I found: **Refreshing a token does not change the refresh period of the new token, the time period of still using the old token** ```go func (mw *GinJWTMiddleware) RefreshHandler(c *gin.Context)...
even you refresh the token, the old token is also can be use. so maybe you can create a blacklist to stop using the old token
maybe you can use belown method ```go func xxAuthorizator func(userID string, c *gin.Context) bool { claims := jwt.ExtractClaims(c) //.... get token and do your things } ```
> > > 建议从gocode迁移到gopls,gopls是官方维护的,更新快,兼容好 如何设置?
> 好像作者在这个里面更新的,没有在github上 https://www.right.com.cn/forum/thread-267501-1-1.html 这个版本测试有问题。无法使用。mm2231031的可以使用。
Whether the latest version has resolved this issue ???
老问题了。 对IDE来说,这个算是个重要的Bug. 什么时候能修复啊!
这个功能非常的重要
密钥转成 openssh的密钥