From ec78e56fbd03945657a9733684a69e2c74db399d Mon Sep 17 00:00:00 2001 From: Jens L Date: Fri, 12 May 2023 20:03:43 +0200 Subject: [PATCH] providers/scim: fix group patch schema (#5596) the original request was made based on the sentry docs, which aren't actually correct Signed-off-by: Jens Langhammer --- authentik/providers/scim/clients/group.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/authentik/providers/scim/clients/group.py b/authentik/providers/scim/clients/group.py index b0222590d..a2c0cad3b 100644 --- a/authentik/providers/scim/clients/group.py +++ b/authentik/providers/scim/clients/group.py @@ -130,10 +130,8 @@ class SCIMGroupClient(SCIMClient[Group, SCIMGroupSchema]): scim_group.id, PatchOperation( op=PatchOp.replace, - value={ - "id": connection.id, - "displayName": group.name, - }, + path="displayName", + value=scim_group.displayName, ), )