From acf16e924a09ea3d2c86137569cfcf3d59214794 Mon Sep 17 00:00:00 2001 From: Christiaan Goossens Date: Fri, 13 Jul 2018 13:11:18 +0200 Subject: [PATCH] Actually use finalizedScopes in access token --- src/Grant/ImplicitGrant.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Grant/ImplicitGrant.php b/src/Grant/ImplicitGrant.php index 9c053311..1890a6ba 100644 --- a/src/Grant/ImplicitGrant.php +++ b/src/Grant/ImplicitGrant.php @@ -199,7 +199,7 @@ class ImplicitGrant extends AbstractAuthorizeGrant $this->accessTokenTTL, $authorizationRequest->getClient(), $authorizationRequest->getUser()->getIdentifier(), - $authorizationRequest->getScopes() + $finalizedScopes ); $response = new RedirectResponse();