From d71e383862fc735991fd2e759181480f066bf138 Mon Sep 17 00:00:00 2001 From: Andy Edwards Date: Thu, 18 Feb 2021 10:47:53 -0600 Subject: [PATCH] docs: document "invalid token" error closes #768 --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b0afff0..7eb8be1 100644 --- a/README.md +++ b/README.md @@ -297,7 +297,8 @@ Error object: * name: 'JsonWebTokenError' * message: - * 'jwt malformed' + * 'invalid token' - the header or payload could not be parsed + * 'jwt malformed' - the token does not have three components (delimited by a `.`) * 'jwt signature is required' * 'invalid signature' * 'jwt audience invalid. expected: [OPTIONS AUDIENCE]'