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

View File

@ -150,6 +150,14 @@ class ImplicitGrant extends AbstractAuthorizeGrant
? $client->getRedirectUri()[0] ? $client->getRedirectUri()[0]
: $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);