There are 2 comments.
 
 
OpenId Connect / cid:jira-generated-image-avatar-9d2d762c-4059-4159-8387-675b429cb3bd OIDC-256 Open

Authenticator Callback - Cannot invoke "javax.servlet.http.HttpSession.getId()" because "httpSession" is null

 
View issue   ยท   Add comment
 

2 comments

 
cid:jira-generated-image-avatar-696e5bc3-90bf-411f-b9f8-007c72dec921 Thomas Mortagne on 03/Sep/25 10:42
 
bq. Setting the cookie configuration (https://stackoverflow.com/questions/57505939/how-to-set-samesite-cookie-in-tomcats-cookie-processor) to "lax" via the init script solved the problem.

Thanks for the debug [~michael-schroeder-lave]. I indeed imagine it's not possible to do OpenID Connect with SameSite=Strict session cookie since 90% of the time OpenID Connect is a ping/pong between two different domains). I feel like this is related to the
help helm chart in some way, as you are the first one to report this problem. XWiki does not set samesite, and Tomcat documentation seems to suggest it does not it either by default.
 
cid:jira-generated-image-avatar-696e5bc3-90bf-411f-b9f8-007c72dec921 Thomas Mortagne on 03/Sep/25 10:42
 
bq. Setting the cookie configuration (https://stackoverflow.com/questions/57505939/how-to-set-samesite-cookie-in-tomcats-cookie-processor) to "lax" via the init script solved the problem.

Thanks for the debug [~michael-schroeder-lave]. I indeed imagine it's not possible to do OpenID Connect with SameSite=Strict session cookie since 90% of the time OpenID Connect is a ping/pong between two different domains). I feel like this is related to the helm chart in some way, as you are the first one to report this problem. XWiki does not set samesite, and Tomcat documentation seems to suggest it does not
it either by default.