Commit fdb9dd91 authored by 陈立彬's avatar 陈立彬

后管sso

parent b8fa631c
......@@ -165,9 +165,9 @@ public class CommonController {
try {
Cookie jwt = new Cookie("jwt", token);
jwt.setPath("/");
jwt.setHttpOnly(true);
jwt.setHttpOnly(false);
response.addCookie(jwt);
response.sendRedirect(ssoBaseUrl + "/elle-ai/1.0.0/index.html");
response.sendRedirect(ssoBaseUrl + "/elle-ai/1.0.0/index.html?token=" + token);
} catch (IOException e) {
log.error("单点登录异常{}", ExceptionUtil.getMessage(e));
}
......
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