From 18193b0eb34305da869fa99b7f53f12f40985028 Mon Sep 17 00:00:00 2001 From: maciejkosiarski Date: Wed, 9 Oct 2019 22:53:26 +0200 Subject: [PATCH] Fix jwt provider content format issue --- Service/JwtProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Service/JwtProvider.php b/Service/JwtProvider.php index 227b556..ac4ab5c 100644 --- a/Service/JwtProvider.php +++ b/Service/JwtProvider.php @@ -80,7 +80,7 @@ private function refreshJwt(): void throw new HttpException($response->getStatusCode(), $message); } - $content = json_decode($response->getBody()->getContents()); + $content = json_decode($response->getBody()->getContents(), true); $finder = new JwtFinder(); $jwt = $finder->findJwt($content);