From 847fb4f3cf74f13cb821a4ed49ba3dd1c3061476 Mon Sep 17 00:00:00 2001 From: Alexander O'Neill Date: Mon, 13 Nov 2023 17:21:28 -0400 Subject: [PATCH] islandora_iiif: Fix Authorization header syntax. --- modules/islandora_iiif/src/IiifInfo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/islandora_iiif/src/IiifInfo.php b/modules/islandora_iiif/src/IiifInfo.php index 8cc66d4e..32ccedfa 100644 --- a/modules/islandora_iiif/src/IiifInfo.php +++ b/modules/islandora_iiif/src/IiifInfo.php @@ -110,7 +110,7 @@ class IiifInfo { try { $info_json = $this->httpClient->request('get', $iiif_url, [ 'headers' => [ - 'Authorization' => 'bearer ' . $this->jwtAuth->generateToken(), + 'Authorization' => 'Bearer ' . $this->jwtAuth->generateToken(), ], ])->getBody(); $resource = json_decode($info_json, TRUE);