diff --git a/src/ResponseTypes/BearerTokenResponse.php b/src/ResponseTypes/BearerTokenResponse.php index 63598265..a65ecaae 100644 --- a/src/ResponseTypes/BearerTokenResponse.php +++ b/src/ResponseTypes/BearerTokenResponse.php @@ -39,7 +39,7 @@ class BearerTokenResponse extends AbstractResponseType 'access_token_id' => $this->accessToken->getIdentifier(), 'scopes' => $this->accessToken->getScopes(), 'user_id' => $this->accessToken->getUserIdentifier(), - 'expire_time' => $expireDateTime, + 'expire_time' => $this->refreshToken->getExpiryDateTime()->getTimestamp(), ] ) );