Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
platform
/
platform-gateway
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5fdeb7e2
authored
Apr 20, 2023
by
刘宇峰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
鉴权跳过授权路径
1 parent
7f525c2a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/cn/com/glsx/gateway/filter/OpenApiAuthCheckFilter.java
src/main/java/cn/com/glsx/gateway/filter/OpenApiAuthCheckFilter.java
View file @
5fdeb7e
...
@@ -66,7 +66,7 @@ public class OpenApiAuthCheckFilter implements GlobalFilter, Ordered {
...
@@ -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
);
return
chain
.
filter
(
exchange
);
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment