diff --git a/src/Grant/ImplicitGrant.php b/src/Grant/ImplicitGrant.php index 9f754d71..f3a74ced 100644 --- a/src/Grant/ImplicitGrant.php +++ b/src/Grant/ImplicitGrant.php @@ -146,7 +146,9 @@ class ImplicitGrant extends AbstractAuthorizeGrant $scopes = $this->validateScopes( $this->getQueryStringParameter('scope', $request), - $client->getRedirectUri() + is_array($client->getRedirectUri()) + ? $client->getRedirectUri()[0] + : $client->getRedirectUri() ); $stateParameter = $this->getQueryStringParameter('state', $request);