You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SSO profile picture and display name are not set for users signing in through a confidential OIDC client #35674
With SSO set up as a confidential (server-side) OIDC client, users who sign in get neither a profile picture nor a display name from the identity provider. The avatar shows only an initial, and the name shown is the login name (jdoe), not the provider's name or its given and family names.
On this flow the server completes sign-in, so it is the one that has to apply the provider's profile claims. It applies neither:
Display name. On the default principal-claims flow (emailClaim unset), the server resolves the provider's display name (name, or given_name + family_name) and then drops it. feat(ui): support displayName extraction from user when login #25623 added the sync and Mcp oauth #25391 removed it, so 1.12.4 and every later release ship without it.
Picture. No code reads the standard OIDC picture claim on the server, and the callback page hands the browser no picture. Pictures only work for public clients, where the browser saves them.
The browser makes the name worse. After a server-driven login, the UI saves the username it was handed (the name redirect parameter) as the user's display name, if the account has none.
A login can erase the stored profile. The principal-claims path loads the user with only id,roles,teams and saves that copy back when a login promotes an admin or assigns a team from claims, which erases the stored profile.
To Reproduce
Configure an OIDC provider that issues name / given_name / family_name and picture for the profile scope (for example Google), with clientType: confidential and emailClaim left unset.
Sign in as a new user, or as an existing user who has no display name.
Open the user menu, or call GET /api/v1/users/loggedInUser.
Observed: displayName is empty or equal to the login name, and profile.images is absent.
Expected behavior
displayName is the provider's name (or given + family name) and profile.images.image is the provider's picture, as they are for public clients. A display name the user chose in OpenMetadata is kept, and a token without a picture keeps the stored one.
OpenMetadata version
1.12.4 and later, including main
Additional context
The email-first flow (emailClaim set) already syncs the display name, but not the picture.
Activity
Fixes open-metadata#35674: sync SSO display name and picture on serve…