Commit 5fdeb7e2 by 刘宇峰

鉴权跳过授权路径

1 parent 7f525c2a
......@@ -66,7 +66,7 @@ public class OpenApiAuthCheckFilter implements GlobalFilter, Ordered {
}
//跳过不符合需要验证的路径
if (!StringUtils.isMatchedStr(openApiUrls, url)) {
if (!StringUtils.isMatchedStr(openApiUrls, url) || url.endsWith("/open/api/access/queryAccessToken")) {
return chain.filter(exchange);
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!