网关服务增加token刷新机制
All checks were successful
test/timeline-server/pipeline/head This commit looks good
All checks were successful
test/timeline-server/pipeline/head This commit looks good
This commit is contained in:
@@ -119,7 +119,7 @@ public class AuthenticationFilter implements GlobalFilter, Ordered {
|
|||||||
String[] params = query.split("&");
|
String[] params = query.split("&");
|
||||||
for (String param : params) {
|
for (String param : params) {
|
||||||
if (param.startsWith("Authorization=")) {
|
if (param.startsWith("Authorization=")) {
|
||||||
return param.substring("Authorization=".length());
|
return param.substring(21);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user