diff --git a/src/Grant/ImplicitGrant.php b/src/Grant/ImplicitGrant.php index 7ef8939e..9f754d71 100644 --- a/src/Grant/ImplicitGrant.php +++ b/src/Grant/ImplicitGrant.php @@ -193,6 +193,7 @@ class ImplicitGrant extends AbstractAuthorizeGrant 'access_token' => (string) $accessToken->convertToJWT($this->privateKey), 'token_type' => 'bearer', 'expires_in' => $accessToken->getExpiryDateTime()->getTimestamp() - (new \DateTime())->getTimestamp(), + 'state' => $authorizationRequest->getState(), ], '#' )