You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow setting SameSite on the API session cookie #611
The Web Admin can be embedded in an iframe of another site via server.api.contentsecuritypolicy (frame-ancestors). Login succeeds, but the next request has no session: the JSESSIONID cookie (Path=/api) is sent without a SameSite attribute, so Chrome and Edge treat it as SameSite=Lax and do not send it in a cross-site iframe. The Web Admin relies solely on this cookie, and there is currently no way to configure SameSite.
Proposal: a new property server.api.sessioncookie.samesite (None/Lax/Strict, blank = current behavior), applied via Jetty's SessionHandler.setSameSite(), which is available in the bundled Jetty 9.4.57.
Activity