From 5de017759abe3ad7f04ff08d49025ffdbdbcfa6f Mon Sep 17 00:00:00 2001 From: Giovanni Carvelli Date: Tue, 24 Jun 2025 22:02:24 +0100 Subject: [PATCH 1/2] small unrelated fixes --- lib/DirectorySync.php | 2 +- lib/SSO.php | 2 +- lib/UserManagement.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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..2d54b463 100644 --- a/lib/SSO.php +++ b/lib/SSO.php @@ -19,7 +19,7 @@ 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 $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 * * @throws Exception\UnexpectedValueException 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 From feefeeb6cbdcbdc5341da0e56fd623a3956a43e5 Mon Sep 17 00:00:00 2001 From: Giovanni Carvelli Date: Tue, 24 Jun 2025 22:05:28 +0100 Subject: [PATCH 2/2] one more typo --- lib/SSO.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SSO.php b/lib/SSO.php index 2d54b463..6eed3872 100644 --- a/lib/SSO.php +++ b/lib/SSO.php @@ -20,7 +20,7 @@ class SSO * @param null|string $connection Unique identifier for a WorkOS Connection * @param null|string $organization Unique identifier for a WorkOS Organization * @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 $loginHint Username/email hint that will be passed as a parameter to the IdP login page * * @throws Exception\UnexpectedValueException * @throws Exception\ConfigurationException