You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
960 B
960 B
Upgrading Notes
This document captures breaking changes between versions of fastify-jwt.
Upgrading from 3.x to 4.0
In v4 we migrated away from using jsonwebtoken to fast-jwt. This introduced the following breaking changes:
-
sign options:
audienceshould be changed toaudissuershould be changed toissjwtidshould be changed tojtisubjectshould be changed tosubkeyIdshould be changed tokid
-
verify options:
audienceshould be changed toallowedAudissuershould be changed toallowedIsssubjectshould be changed toallowedSubjwtidshould be changed toallowedJtinonceshould be changed toallowedNonce
-
decode options:
jsonoption has been removedcheckTypoption has been introduced. If set to a string value, a check of thetypheader claim is forced. Example:checkTyp: 'JWT'. By defaultcheckTypisundefined.