mirror of https://github.com/apache/cloudstack.git
parent
4876761154
commit
f9b176744e
|
|
@ -320,6 +320,7 @@ public class SAMLUtils {
|
|||
String sessionKeyCookie = String.format("%s=%s;Domain=%s;Path=%s;%s", ApiConstants.SESSIONKEY, loginResponse.getSessionKey(), domain, path, sameSite);
|
||||
s_logger.debug("Adding sessionkey cookie to response: " + sessionKeyCookie);
|
||||
resp.addHeader("SET-COOKIE", sessionKeyCookie);
|
||||
resp.addHeader("SET-COOKIE", String.format("%s=%s;HttpOnly;Path=/client/api;%s", ApiConstants.SESSIONKEY, loginResponse.getSessionKey(), sameSite));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue