SpringCloud icon indicating copy to clipboard operation
SpringCloud copied to clipboard

token expired 的时候,没有抛出json,直接html了,Unauthorized

Open xy0601 opened this issue 6 years ago • 3 comments

BUG描述

过期的token请求直接抛出html的Unauthorized和401 的错误code,ExpiredJwtException这个异常没有被抛出和捕捉到,这样客户端无法判断是否token过期去refresh token请求,现在是无论是token错误还是token过时都是401,是不是有点糊弄啊,亲

xy0601 avatar Jan 03 '20 05:01 xy0601

这块确实还没有完善,给这位大爷造成的不便敬请谅解,等我有空了这块会优化的

zhoutaoo avatar Jan 05 '20 06:01 zhoutaoo

兄弟言重了,我下次注意下言词,有冒犯多多谅解

xy0601 avatar Jan 06 '20 00:01 xy0601

哈哈哈

hellochueng avatar May 20 '20 03:05 hellochueng