This commit is contained in:
Alex Bilbie 2016-09-13 15:16:58 +01:00 committed by GitHub
parent b8b92e5925
commit d7df2f7e24

View File

@ -151,6 +151,14 @@ class ImplicitGrant extends AbstractAuthorizeGrant
: $client->getRedirectUri() : $client->getRedirectUri()
); );
// Finalize the requested scopes
$scopes = $this->scopeRepository->finalizeScopes(
$scopes,
$this->getIdentifier(),
$client,
$authCodePayload->user_id
);
$stateParameter = $this->getQueryStringParameter('state', $request); $stateParameter = $this->getQueryStringParameter('state', $request);
$authorizationRequest = new AuthorizationRequest(); $authorizationRequest = new AuthorizationRequest();