新oa待办跳转到待办页面bug修复4
This commit is contained in:
parent
fecc86a5f5
commit
554be3d22e
|
@ -28,6 +28,8 @@ public class SSOPluginLogin implements ThirdSSOAuthHandler {
|
|||
private final String CLIENT_ID2 = System.getProperty("scnyfz-clientKey");
|
||||
private final String CLIENT_SECRET2 = System.getProperty("scnyfz-scict");
|
||||
private final String EOSS_IP2 = System.getProperty("scnyfz-ip2");
|
||||
private final String skIP = System.getProperty("backlog-ip");
|
||||
|
||||
|
||||
/**
|
||||
* 方法实现用户没有登录的时候跳转认证中心的登录地址
|
||||
|
@ -40,7 +42,6 @@ public class SSOPluginLogin implements ThirdSSOAuthHandler {
|
|||
String secret;
|
||||
|
||||
String queryUrl = httpServletRequest.getQueryString();
|
||||
|
||||
if (queryUrl.contains("isNew")) {
|
||||
ip = EOSS_IP2;
|
||||
client = CLIENT_ID2;
|
||||
|
@ -66,8 +67,9 @@ public class SSOPluginLogin implements ThirdSSOAuthHandler {
|
|||
queryUrl = Base64.getEncoder().encodeToString(queryUrl.getBytes(StandardCharsets.UTF_8));
|
||||
// String skIp = httpServletRequest.getRemo
|
||||
String skUrl = RevProxyUtil.getURLContextPath(httpServletRequest);
|
||||
logger.info("获取地址:"+skUrl);
|
||||
String redirect = skUrl+"index.html?param="+queryUrl;
|
||||
logger.info("getURLContextPath:"+skUrl);
|
||||
String redirect = skIP+"/index.html?param="+queryUrl;
|
||||
logger.info("skip:"+skUrl);
|
||||
//认证中心的登录地址
|
||||
logger.info(String.format("eoss_ip:%s,client_id:%s,client_secret:%s,重定向地址:%s", ip, client, secret, s));
|
||||
|
||||
|
|
Loading…
Reference in New Issue