From ec74f257943a7b75613e89bd02230a5c1f15969f Mon Sep 17 00:00:00 2001 From: Brian Fletcher Date: Thu, 25 Aug 2022 15:54:07 +0100 Subject: [PATCH] fix test Signed-off-by: Brian Fletcher --- plugins/auth-node/src/DefaultIdentityClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/auth-node/src/DefaultIdentityClient.ts b/plugins/auth-node/src/DefaultIdentityClient.ts index 8f51bd7530..a7946c77ff 100644 --- a/plugins/auth-node/src/DefaultIdentityClient.ts +++ b/plugins/auth-node/src/DefaultIdentityClient.ts @@ -86,7 +86,7 @@ export class DefaultIdentityClient implements IdentityApi { getBearerTokenFromAuthorizationHeader(request.headers.authorization), ); } catch (e) { - throw new NotAllowedError('Failed to authenticate the provided token'); + throw new NotAllowedError(e.message); } }