esbenp / lumen-api-oauth

The code for a blog post I wrote about creating web apps using a Lumen API that is authenticated by OAuth2
http://esbenp.github.io/2015/05/26/lumen-web-api-oauth-2-authentication/
61 stars 22 forks source link

FluentClient.php:182 #25

Open apstudio opened 8 years ago

apstudio commented 8 years ago

After update to 5.2 I have this error:

lumen.ERROR: exception 'ErrorException' with message 'Trying to get property of non-object' in \vendor\lucadegasperi\oauth2-server-laravel\src\Storage\FluentClient.php:182
Stack trace:
#0
 \vendor\lucadegasperi\oauth2-server-laravel\src\Storage\FluentClient.php(182): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(8, 'Trying to get p...', 'D:\\web\\www\\Lume...', 182, Array)
#1 
\vendor\lucadegasperi\oauth2-server-laravel\src\Storage\FluentClient.php(123): LucaDegasperi\OAuth2Server\Storage\FluentClient->hydrateEntity(Array)
#2 
\vendor\league\oauth2-server\src\Grant\PasswordGrant.php(110): LucaDegasperi\OAuth2Server\Storage\FluentClient->get('id1', 'secret1', NULL, 'password')
#3 
\vendor\league\oauth2-server\src\AuthorizationServer.php(275): League\OAuth2\Server\Grant\PasswordGrant->completeFlow()

Help PLZ.