finalize scopes for AuthCodeGrant

This commit is contained in:
Bobselp 2016-04-10 18:07:18 +02:00
parent 03e8eb6157
commit eb7526ae97

View File

@ -98,6 +98,9 @@ class AuthCodeGrant extends AbstractAuthorizeGrant
$scopes[] = $scope;
}
// Finalize the requested scopes
$scopes = $this->scopeRepository->finalizeScopes($scopes, $this->getIdentifier(), $client, $authCodePayload->user_id);
} catch (\LogicException $e) {
throw OAuthServerException::invalidRequest('code', 'Cannot decrypt the authorization code');
}