This issue has been created
 
 
OpenId Connect / cid:jira-generated-image-avatar-c8b24fa6-f53b-4f19-86f2-86e81a027eaa OIDC-326 Open

Allow disabling automatic user creation on OIDC authentication

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-ae3198e2-217b-46b8-a06f-d99fd37736c7 Florian Véron created this issue on 22/Oct/26 14:53
 
Summary: Allow disabling automatic user creation on OIDC authentication
Issue Type: cid:jira-generated-image-avatar-c8b24fa6-f53b-4f19-86f2-86e81a027eaa Improvement
Assignee: Unassigned
Components: Authenticator
Created: 22/Oct/26 14:53
Priority: cid:jira-generated-image-static-major-c32623b5-d55d-4b69-b509-8bb93b24db79 Major
Reporter: Florian Véron
Description:

When a user successfully authenticates via OIDC but does not already have a corresponding account on the XWiki instance, the authenticator currently creates that account automatically.

Some deployments only want known/pre-provisioned users to be able to log in. In that case, authentication should fail and no user account should be created.

Add a configuration option (wiki client configuration + oidc.createUser in xwiki.properties) defaulting to true for backward compatibility. When set to false:

  • existing OIDC-linked users can still authenticate and be updated
  • unknown users are rejected and no account is created