From 2a7cad85db05135b49fbbd399ba6e4b5eb6f6a16 Mon Sep 17 00:00:00 2001 From: Artem Vasilev Date: Sat, 16 Mar 2024 23:05:48 +0300 Subject: [PATCH] Fix client type on create event --- com_oauthserver/site/src/Repository/ScopeRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com_oauthserver/site/src/Repository/ScopeRepository.php b/com_oauthserver/site/src/Repository/ScopeRepository.php index bc11383..d932a37 100644 --- a/com_oauthserver/site/src/Repository/ScopeRepository.php +++ b/com_oauthserver/site/src/Repository/ScopeRepository.php @@ -73,7 +73,7 @@ class ScopeRepository implements ScopeRepositoryInterface, DispatcherAwareInterf [ 'scopes' => $scopes, 'grant' => $grantType, - 'client' => $client, + 'client' => $clientEntity, 'userId' => $userIdentifier ] );