diff --git a/lib/DirectorySync.php b/lib/DirectorySync.php index 7e5bfc53..4fa5671c 100644 --- a/lib/DirectorySync.php +++ b/lib/DirectorySync.php @@ -97,7 +97,7 @@ public function listGroups( $params["directory"] = $directory; } if ($user) { - $params["user"] = $group; + $params["user"] = $user; } $response = Client::request( diff --git a/lib/SSO.php b/lib/SSO.php index 096f581c..6eed3872 100644 --- a/lib/SSO.php +++ b/lib/SSO.php @@ -19,8 +19,8 @@ class SSO * @param null|string $provider Service provider that handles the identity of the user * @param null|string $connection Unique identifier for a WorkOS Connection * @param null|string $organization Unique identifier for a WorkOS Organization - * @param null|string $domainHint DDomain hint that will be passed as a parameter to the IdP login page - * @param null|string $loginHint Username/email hint that will be passed as a parameter to the to IdP login page + * @param null|string $domainHint Domain hint that will be passed as a parameter to the IdP login page + * @param null|string $loginHint Username/email hint that will be passed as a parameter to the IdP login page * * @throws Exception\UnexpectedValueException * @throws Exception\ConfigurationException diff --git a/lib/UserManagement.php b/lib/UserManagement.php index 41d9153b..51d8a9ef 100644 --- a/lib/UserManagement.php +++ b/lib/UserManagement.php @@ -610,7 +610,7 @@ public function revokeInvitation($invitationId) * @param null|string $provider Service provider that handles the identity of the user * @param null|string $connectionId Unique identifier for a WorkOS Connection * @param null|string $organizationId Unique identifier for a WorkOS Organization - * @param null|string $domainHint DDomain hint that will be passed as a parameter to the IdP login page + * @param null|string $domainHint Domain hint that will be passed as a parameter to the IdP login page * @param null|string $loginHint Username/email hint that will be passed as a parameter to the to IdP login page * @param null|string $screenHint The page that the user will be redirected to when the provider is authkit * @param null|array $providerScopes An array of provider-specific scopes