This issue has been created
 
 
OpenId Connect / cid:jira-generated-image-avatar-7d683ff6-576e-437d-93a1-4a473542e1a4 OIDC-325 Open

Allow disabling automatic user creation on OIDC authentication

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-cef88851-2801-4776-9639-a469431f595f Florian Véron created this issue on 22/Oct/26 14:52
 
Summary: Allow disabling automatic user creation on OIDC authentication
Issue Type: cid:jira-generated-image-avatar-7d683ff6-576e-437d-93a1-4a473542e1a4 Improvement
Assignee: Unassigned
Components: Authenticator
Created: 22/Oct/26 14:52
Priority: cid:jira-generated-image-static-major-93117219-58b4-49b7-ac18-0fd049b2bd61 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