From 4b4d3bb1c2aed09c288350822e6677426594a7ea Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Fri, 5 May 2017 00:19:28 +0200 Subject: It's a bearer Signed-off-by: Lukas Reschke --- apps/oauth2/lib/Controller/OauthApiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/oauth2/lib') diff --git a/apps/oauth2/lib/Controller/OauthApiController.php b/apps/oauth2/lib/Controller/OauthApiController.php index 8432830bce3..97f8185149a 100644 --- a/apps/oauth2/lib/Controller/OauthApiController.php +++ b/apps/oauth2/lib/Controller/OauthApiController.php @@ -78,7 +78,7 @@ class OauthApiController extends Controller { return new JSONResponse( [ 'access_token' => $decryptedToken, - 'token_type' => 'token', + 'token_type' => 'Bearer', 'expires_in' => 3600, 'refresh_token' => $newCode, 'user_id' => ($this->defaultTokenMapper->getTokenById($accessToken->getTokenId()))->getUID(), -- cgit v1.2.3