This issue has been created
 
 
OpenId Connect / cid:jira-generated-image-avatar-f86f2455-22bc-42cf-8627-25f2dfb9af37 OIDC-276 Open

Confusing errors in the logs for users OIDCUserManager-Failed to update user informations

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-4c43f7a8-9b8c-4d21-b03d-572d24932bf1 Iulia Balan created this issue on 11/Mar/26 11:31
 
Summary: Confusing errors in the logs for users OIDCUserManager-Failed to update user informations
Issue Type: cid:jira-generated-image-avatar-f86f2455-22bc-42cf-8627-25f2dfb9af37 Improvement
Assignee: Unassigned
Created: 11/Mar/26 11:31
Priority: cid:jira-generated-image-static-major-8fdd1168-5270-4f09-8c4a-5128a5881a01 Major
Reporter: Iulia Balan
Description:

Some users are confused by  OIDCUserManager-Failed to update user informations errors

ERROR o.x.c.o.a.i.OIDCUserManager    - Failed to update user informations 
xwiki org.xwiki.contrib.oidc.provider.internal.OIDCException: Failed to get user info: null
xwiki     at org.xwiki.contrib.oidc.auth.internal.OIDCUserManager.getUserInfo(OIDCUserManager.java:203)
xwiki     at org.xwiki.contrib.oidc.auth.internal.OIDCUserManager.updateUser(OIDCUserManager.java:240)
xwiki     at org.xwiki.contrib.oidc.auth.internal.OIDCUserManager.lambda$updateUserInfoAsync$0(OIDCUserManager.java:154)
xwiki     at org.xwiki.context.concurrent.ExecutionContextRunnable.run(ExecutionContextRunnable.java:71)
xwiki     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
xwiki     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
xwiki     at java.base/java.lang.Thread.run(Unknown Source) 

 

These errors are harmless and are related to the user background info upgrade tool (to upgrade user info without the need to re-login). As it doesn't see to work very well in practice (mainly because it's not relying on a refresh token), this tool should probably be disabled by default (thanks Thomas Mortagne for confirming).