Commit 5e2d1f12 authored by 喻春霖's avatar 喻春霖

fixed

parent 2725aee3
...@@ -522,7 +522,12 @@ public class AuthController { ...@@ -522,7 +522,12 @@ public class AuthController {
param.put("return_url", URLEncoder.encode(returnUrl)); param.put("return_url", URLEncoder.encode(returnUrl));
service = appendUrl(service, param); service = appendUrl(service, param);
} }
String clientId = oauthConfigItem.getClientId();
String signOrigin = oauthConfigItem.getClientId() + "$$" + oauthConfigItem.getClientSecret();
loginUrlBuilder.append("logout?service=").append(URLEncoder.encode(service)); loginUrlBuilder.append("logout?service=").append(URLEncoder.encode(service));
loginUrlBuilder.append("&client_id="+clientId);
loginUrlBuilder.append("&sign="+signOrigin);
return loginUrlBuilder.toString(); return loginUrlBuilder.toString();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment