Commit dbf8ceb3 authored by 喻春霖's avatar 喻春霖

fixed

parent dbc35414
......@@ -527,8 +527,10 @@ public class AuthController {
String signOrigin = oauthConfigItem.getClientId() + "$$" + oauthConfigItem.getClientSecret();
String md5Hex = EncodeUtil.md5(signOrigin);
if (oauthType.equals("qpjy")){
service = "https://idp.qpedu.cn/logout/logout.html?return=" + URLEncoder.encode(service);
service = "https://sp.etextbook.cn/Shibboleth.sso/Logout?return=" + URLEncoder.encode(service);
return service;
}
loginUrlBuilder.append("logout?service=").append(URLEncoder.encode(service));
loginUrlBuilder.append("&client_id="+clientId);
loginUrlBuilder.append("&sign="+md5Hex);
......
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