🐛 Fixing a bug. #825 3.7 token 刷新空指针问题 & 修复方案
This commit is contained in:
1 parent
e1cca0d224
commit
9e7b190cd0
1 file changed
+6
+6
@@ -80,6 +80,12 @@ public class PasswordDecoderFilter extends AbstractGatewayFilterFactory {
|
||||
return chain.filter(exchange);
|
||||
}
|
||||
|
||||
// 刷新token,直接向下执行
|
||||
String grantType = request.getQueryParams().getFirst("grant_type");
|
||||
if (StrUtil.equals(SecurityConstants.REFRESH_TOKEN, grantType)) {
|
||||
return chain.filter(exchange);
|
||||
}
|
||||
|
||||
Class inClass = String.class;
|
||||
Class outClass = String.class;
|
||||
ServerRequest serverRequest = ServerRequest.create(exchange,
|
||||
|
||||
Reference in new issue
Block a user