ErrLookup › lcobucci/jwt

lcobucci/jwt

A simple library to work with JSON Web Token and JSON Web Signature · PHP · 73 source files

Analyzed at 375813049c on 2026-09-14. 46 documented errors.

Code / MessageTypeSeverityTags
The token was issued in the future
validation error jwt, validation, clock-skew, php
Constraint Violation triggered by one of the following:\n
validation error jwt, signature, key-rotation, validation
Error while decoding from Base64Url, invalid base64…
exception error base64, encoding, jwt, php
Error while decoding from JSON
exception error json, decoding, php
The curve of the provided key is not
exception error ecdsa, curve, openssl, signing
Required constraints violated
validation error jwt, validation, php, constraints
<SodiumException message>
exception error eddsa, crypto, invalid-key, sodium
The type of the provided key is not
exception error ecdsa, openssl, key-type, signing
Invalid signature length.
exception error ecdsa, signature, asn1, encoding
Error while encoding to JSON
exception error json, encoding, jwt
The token is not identified with the expected ID
validation error jwt, validation-constraint, jti-claim
Token signature mismatch
validation error jwt, signature, security, validation
The length of the provided key is different than
exception error ecdsa, key-length, curve, signing
Leeway cannot be negative
validation error jwt, leeway, dateinterval, configuration
Key provided is shorter than
exception error blake2b, signing, key-length, crypto
You should pass a plain token
validation error jwt, type-mismatch, encryption, validation
must be an array with non-empty-string keys
exception error jwt, parsing, token-structure, php
This constraint was only usable until
validation error jwt, validation, expired-constraint, clock
Token signer mismatch
validation error
The claim " " is a registered claim, another constraint…
exception error jwt, validation, constraint, misuse
No constraint given.
exception error jwt, validation, constraints
"Expiration Time" claim missing
validation error jwt, missing-claim, validation, strict-mode
The token is not related to the expected subject
validation error
Builder#withClaim() is meant to be used for non-registered…
exception error jwt, builder, claims, php
Value is not in the allowed date format
exception error jwt, date-claims, timestamp, parsing
The token is expired
validation error jwt, token-expired, validation-constraint
The token is not allowed to be used by this audience
validation error
The token was not issued by the given issuers
validation error jwt, validation-constraint, issuer
"Not Before" claim missing
validation error jwt, missing-claim, validation, strict-mode
claims must be an array with non-empty-string keys
exception error jwt, parser, claims, php
The claim " " does not have the expected value
exception error jwt, validation, claims, value-mismatch
headers must be an array with non-empty-string keys
exception error jwt, parser, header, php
The token cannot be used yet
validation error jwt, not-before, clock-skew, validation
The JWT string must have two dots
exception error jwt, parser, malformed-token, php
There was an error while creating the signature
exception error openssl, rsa, signature, key
Invalid data. Should contain an integer.
exception error ecdsa, asn1, der, parsing
The JWT string is missing the Header part
exception error jwt, parser, malformed-token, php
Invalid data. Should start with a sequence.
exception error ecdsa, asn1, der, signature
Encryption is not supported yet
exception error jwt, jwe, encryption, unsupported
"Issued At" claim missing
validation error jwt, missing-claim, issued-at, validation
The JWT string is missing the Claim part
exception error jwt, parser, malformed-token, php
It was not possible to parse your key, reason
exception error openssl, key, parsing, pem
The path " " does not contain a valid key file
exception error file, key, path, filesystem
The JWT string is missing the Signature part
exception error jwt, parser, signature, php
The token does not have the claim
exception error jwt, validation, claims, missing-claim
Key cannot be empty
exception error key, empty-value, configuration, jwt