From 484e025014d5ad06f8d29b1e4c5759c1c3335394 Mon Sep 17 00:00:00 2001 From: Elias Luhr Date: Fri, 9 Feb 2024 11:55:10 +0100 Subject: [PATCH] Fix client_id value by using the correct method --- src/User/Query/SocialNetworkAccountQuery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/User/Query/SocialNetworkAccountQuery.php b/src/User/Query/SocialNetworkAccountQuery.php index eee6d348..d90ae72d 100644 --- a/src/User/Query/SocialNetworkAccountQuery.php +++ b/src/User/Query/SocialNetworkAccountQuery.php @@ -26,7 +26,7 @@ public function whereClient(AuthClientInterface $client) return $this->andWhere( [ 'provider' => $client->getId(), - 'client_id' => (string)$client->getUserAttributes()['id'], + 'client_id' => (string)$client->getUserId(), ] ); }