to <Context>
- <Context>
- ...
- <CookieProcessor sameSiteCookies="none"/>
- ...
- </Context>
After restarting the application, the JSESSIONID cookie should be sent with samesite="none" and WebSudo should work as expected.
You can use our open-source Jira/Confluence plugin that sets the cookie correctly from within the Atlassian application.
You can upload it via the UPM (Upload from URL) and use the download URL to the latest version.
Most reverse proxies allow rewriting request headers. The set-cookie-header should be rewritten to add the samesite="none"-flag when sending the JSESSIONID cookie.
The session cookie is preserved correctly if the SAML response is sent from the IdP with HTTP GET instead of POST. This can be achieved by configuring the IdP to use REDIRECT binding if supported. In this case, the setting "Protocol Binding" under Request settings in the IdP configuration of the SAML-plugin should be set to REDIRECT:
This may be not supported by the IdP - some IdPs will send the response with POST binding no matter what is set here.