mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-05 02:41:34 +00:00
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
This commit is contained in:
parent
e276d33352
commit
a29c969fc7
1 changed files with 2 additions and 0 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue