From b1bfff732526775160a3e59028f09e9da846cbd9 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Mon, 19 Sep 2016 10:05:55 +0100 Subject: [PATCH] Don't pass in user because we don't know who user is --- src/Grant/ImplicitGrant.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Grant/ImplicitGrant.php b/src/Grant/ImplicitGrant.php index ef1feb0c..62a48147 100644 --- a/src/Grant/ImplicitGrant.php +++ b/src/Grant/ImplicitGrant.php @@ -155,8 +155,7 @@ class ImplicitGrant extends AbstractAuthorizeGrant $scopes = $this->scopeRepository->finalizeScopes( $scopes, $this->getIdentifier(), - $client, - $authCodePayload->user_id + $client ); $stateParameter = $this->getQueryStringParameter('state', $request);