Uploaded image for project: 'OpenId Connect'
  1. OpenId Connect
  2. OIDC-276

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.22.0
    • 2.21.1
    • None
    • None
    • Unknown

    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 tmortagne for confirming).

      Attachments

        Issue Links

          Activity

            People

              rjakse Raphaël Jakse
              ibalan Iulia Balan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: