![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
oauth2
小白-彬
小白一枚
展开
-
Oauth2 异常返回格式封装(用户验证和client验证)
异常返回格式有两种一种是框架内置的用户名密码登录参考https://blog.csdn.net/yuelangyc/article/details/87605251另一种是校验客户端,客户端异常参考https://blog.csdn.net/qq_31063463/article/details/83752459...原创 2019-03-29 15:52:20 · 3491 阅读 · 0 评论 -
oauth2刷新token报 Invalid refresh token
刷新token报错如下图:看源码DefaultTokenServices发现里面有个属性private int refreshTokenValiditySeconds = 2592000;private int accessTokenValiditySeconds = 43200;private boolean supportRefreshToken = false;priva...原创 2019-03-27 14:41:26 · 9787 阅读 · 0 评论