When using "OpenID Connect" for users the default profile image sometimes use the wrong value

Hello,

I use a keycloak server to generate users with the “OpenID Connect” plugin.

When the default profile image generates it should be the first letters from the display name but on some pages it uses the username instead.

I can see the users is in the oc_user_oidc table with display names set, if it is a local user it always looks like it works but they are in the oc_users table.

Looks like there are only some places it shows wrong so I’ll list those I know.

Contacts page:
Wrong when it lists contacts and choose a user but works if you create a circle and add people there.

Profile page:
Wrong in the big image.

Edit personal info:
The top left image is wrong but the “preview” profile page icon is correct.

Top right image on all pages:
Looks like it changes/caches depending on what the latest image it generated or something. If I go into “Users” admin page it changes to the correct one (if reset cache) but If I go into “Edit personal info” it changes to the wrong one.

Some places looks like it uses the cached version so can be wrong there aswell.

Does anyone know what can cause this for these places or if it’s a setting somewhere I havn’t found?

Thanks in advance.

Hey @hmmmz

I’m so sorry but your thread misses really all informations.
please take a look here and fill in everything you can.

Without that it’s impossible to help.

are you talking about the placeholder when no user image exists? like here

image

in my instance it seems to use the first character of the displayname (or maybe user account - both match in my case).
and at first glance I seems to display consistent in different places, for few users I have in my test instance.