新oa单点登录bug调整
This commit is contained in:
parent
478c78d798
commit
a32287ef70
|
@ -62,9 +62,10 @@ public class SSOPluginLogin implements ThirdSSOAuthHandler {
|
||||||
//非待办登录到首页
|
//非待办登录到首页
|
||||||
if (!queryUrl.contains("wf_approvalpage")) {
|
if (!queryUrl.contains("wf_approvalpage")) {
|
||||||
//认证中心的登录地址
|
//认证中心的登录地址
|
||||||
|
String redirect = skIP + "/index.html?"+queryUrl;
|
||||||
//重定向的统一认证的地址 获取授权码
|
//重定向的统一认证的地址 获取授权码
|
||||||
ssourl = String.format("%s/sso2/authCenter/authorize?client_id=%s&response_type=code&sessionKeep=true&authType=0&redirect_uri=%s",
|
ssourl = String.format("%s/sso2/authCenter/authorize?client_id=%s&response_type=code&sessionKeep=true&authType=0&redirect_uri=%s",
|
||||||
ip, client, s);
|
ip, client, redirect);
|
||||||
if (httpServletRequest.getRequestURI().contains("/auth/logout.do")) {
|
if (httpServletRequest.getRequestURI().contains("/auth/logout.do")) {
|
||||||
String userName = UserServiceHelper.getCurrentUser("name").getString("name");
|
String userName = UserServiceHelper.getCurrentUser("name").getString("name");
|
||||||
DistributeSessionlessCache cache = CacheFactory.getCommonCacheFactory().getDistributeSessionlessCache("customRegion");
|
DistributeSessionlessCache cache = CacheFactory.getCommonCacheFactory().getDistributeSessionlessCache("customRegion");
|
||||||
|
|
Loading…
Reference in New Issue