There is 1 comment.
 
 
OpenId Connect / cid:jira-generated-image-avatar-7f910b1a-6b83-487a-9af1-e93d0ad07e2f OIDC-256 Open

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

 
View issue   ·   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-637a2988-dcb6-43b7-8729-678011efd628 Michael Schröder on 27/Aug/25 08:37
 

Thank you for your quick response.

Yes, 17.4.4 and 17.6.0 fresh installed both times.

It's not random. It fails reproduceable on the HTTP-Redirect (Method POST) and succeeds on a following direct call (Method GET).
A refresh in the Browser doesn't do the trick - although being also a HTTP method GET. There seems to be a difference: The URL needs to be entered/executed via the browser's address bar, e.g. in an new tab. I just figured this out by trying to add "debug=true" to the URL.
The behavior is reproducible on different platforms and browsers, so it might not be a misconfiguration on the client side . I thought of some kind of browser security thing but domain names an tls certificates are ok. The JSESSIONID cookie is set on the initial connection to xwiki and stays the same in the process.