mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-11 05:19:00 +08:00
✨ Introducing new features. 支持前后端 sso 的退出,回调
This commit is contained in:
1 parent
1e81e0d25d
commit
3b9568bb46
5 files changed
+24
-7
No files matched your search
+2
-2
@@ -76,8 +76,8 @@ public class ValidateCodeGatewayFilter extends AbstractGatewayFilterFactory {
|
||||
// 终端设置不校验, 直接向下执行
|
||||
try {
|
||||
String header = request.getHeaders().getFirst(HttpHeaders.AUTHORIZATION);
|
||||
String[] clientInfos = WebUtils.getClientId(header);
|
||||
if (filterIgnorePropertiesConfig.getClients().contains(clientInfos[0])) {
|
||||
String clientId = WebUtils.getClientId(header);
|
||||
if (filterIgnorePropertiesConfig.getClients().contains(clientId)) {
|
||||
return chain.filter(exchange);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user