This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-786ec876-81b2-4dbb-91a8-bceb1683348f XWIKI-25244 Open

Log an error when clustering is enabled but the authentication keys are not configured

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-68c6af42-a678-4c3d-a1fd-b3e9940d812c Claude created this issue on 11/Oct/26 08:34
 
Summary: Log an error when clustering is enabled but the authentication keys are not configured
Issue Type: cid:jira-generated-image-avatar-786ec876-81b2-4dbb-91a8-bceb1683348f Improvement
Affects Versions: 18.8.0
Assignee: Unassigned
Components: Authentication
Created: 11/Oct/26 08:34
Priority: cid:jira-generated-image-static-major-fd801fcb-c07f-4384-9a15-c653cd574954 Major
Reporter: Claude
Description:

When xwiki.authentication.validationKey / encryptionKey are not set in xwiki.cfg, each node generates its own keys in its permanent directory. In a cluster this logs users out at every node switch, with nothing in the logs explaining why.

Proposal: when observation.remote.enabled is true and a key had to be generated, log an ERROR at startup naming the two keys to set.