diff --git a/app/Access/GroupSyncService.php b/app/Access/GroupSyncService.php index 65e3e8fcd2c..e423d52ede4 100644 --- a/app/Access/GroupSyncService.php +++ b/app/Access/GroupSyncService.php @@ -43,7 +43,7 @@ protected function parseRoleExternalAuthId(string $externalId): array $cleanIds = []; foreach ($inputIds as $inputId) { - $cleanIds[] = str_replace('\,', ',', trim($inputId)); + $cleanIds[] = str_replace(' ', '-', str_replace('\,', ',', trim($inputId))); } return $cleanIds;