From a29c969fc7ca3e0acfa0cf9af78b9d27918a38b5 Mon Sep 17 00:00:00 2001 From: Classic298 <27028174+Classic298@users.noreply.github.com> Date: Wed, 30 Sep 2026 17:47:11 +0200 Subject: [PATCH] fix: SCIM group members are returned with "$ref": null (#31529) Every member listed in a SCIM group response came back with "$ref": null, so identity providers had no link from a group member to that user's SCIM resource. Members now carry the URL of the user they point to, on both the single group and the group list responses. Fixes #31525 --- backend/open_webui/routers/scim.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/open_webui/routers/scim.py b/backend/open_webui/routers/scim.py index a2d093dba8..7301e9066b 100644 --- a/backend/open_webui/routers/scim.py +++ b/backend/open_webui/routers/scim.py @@ -116,6 +116,8 @@ class SCIMPhoto(BaseModel): class SCIMGroupMember(BaseModel): """SCIM Group Member""" + model_config = ConfigDict(populate_by_name=True) + value: str # User ID ref: Optional[str] = Field(None, alias='$ref') type: Optional[str] = 'User'