Skip to content

A free open source IT asset/license management system

Fixed #19996: return SCIM group member ids as strings

Raphael Schneider6398da6502b0
diff --git a/app/Models/SnipeSCIMConfig.php b/app/Models/SnipeSCIMConfig.php
index 99315835ea..1d4487f772 100644
--- a/app/Models/SnipeSCIMConfig.php
+++ b/app/Models/SnipeSCIMConfig.php
@@ -345,7 +345,7 @@ class SnipeMutableCollection extends MutableCollection
return $object->{$this->attribute}()
->pluck('users.id')
- ->map(fn ($id) => ['value' => $id, '$ref' => $ref_prefix.$id, 'display' => null])
+ ->map(fn ($id) => ['value' => (string) $id, '$ref' => $ref_prefix.$id, 'display' => null])
->all();
}