From 83228bdcd52e47c1824cfcc394b74bed97eb10a0 Mon Sep 17 00:00:00 2001 From: Dave Marshall Date: Mon, 27 Mar 2017 12:11:25 +0100 Subject: [PATCH] Change case for implict grant token_type --- 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 62a48147..466f32ce 100644 --- a/src/Grant/ImplicitGrant.php +++ b/src/Grant/ImplicitGrant.php @@ -200,7 +200,7 @@ class ImplicitGrant extends AbstractAuthorizeGrant $finalRedirectUri, [ 'access_token' => (string) $accessToken->convertToJWT($this->privateKey), - 'token_type' => 'bearer', + 'token_type' => 'Bearer', 'expires_in' => $accessToken->getExpiryDateTime()->getTimestamp() - (new \DateTime())->getTimestamp(), 'state' => $authorizationRequest->getState(), ],