The session cookie has to have the SameSite
attribute set to None
and Secure
attribute. By default, the SameSite
attribute is not set by Spring and is defaulted to Lax
by the browser. This will cause the session cookie to not be sent to the server by the browser when using SSO and SAML.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…