新oa待办跳转到待办页面bug修复12

This commit is contained in:
wenlukang1 2025-07-01 15:17:55 +08:00
parent 23c23c90c9
commit 99365b776a
1 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ public class SSOPluginLogin implements ThirdSSOAuthHandler {
queryUrl = Base64.getEncoder().encodeToString(queryUrl.getBytes(StandardCharsets.UTF_8));
String skUrl = RevProxyUtil.getURLContextPath(httpServletRequest);
logger.info("callTrdSSOLogin→getURLContextPath" + skUrl);
String redirect = "http://127.0.0.1:8881/ierp" + "/index.html?param=" + queryUrl;
String redirect = skIP + "/index.html?param=" + queryUrl;
logger.info("callTrdSSOLogin→skip" + redirect);
//重定向的统一认证的地址 获取授权码
ssourl = String.format("%s/sso2/authCenter/authorize?client_id=%s&response_type=code&sessionKeep=true&authType=0&redirect_uri=%s",
@ -135,7 +135,7 @@ public class SSOPluginLogin implements ThirdSSOAuthHandler {
throw new RuntimeException(e);
}
}
//二次重定向进入
//二次重定向进入
if (StringUtils.isNotEmpty(code) && StringUtils.isEmpty(sessionId) ) {
//调用EOSS获取token接口
String access_token = AuthService.accessToken(code, ip, client, secret);