Skip to content

Commit d71e383

Browse files
authored
docs: document "invalid token" error
closes #768
1 parent 3765003 commit d71e383

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,8 @@ Error object:
297297

298298
* name: 'JsonWebTokenError'
299299
* message:
300-
* 'jwt malformed'
300+
* 'invalid token' - the header or payload could not be parsed
301+
* 'jwt malformed' - the token does not have three components (delimited by a `.`)
301302
* 'jwt signature is required'
302303
* 'invalid signature'
303304
* 'jwt audience invalid. expected: [OPTIONS AUDIENCE]'

0 commit comments

Comments
 (0)