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 to- aud
- issuershould be changed to- iss
- jwtidshould be changed to- jti
- subjectshould be changed to- sub
- keyIdshould be changed to- kid
 
- 
verify options: - audienceshould be changed to- allowedAud
- issuershould be changed to- allowedIss
- subjectshould be changed to- allowedSub
- jwtidshould be changed to- allowedJti
- nonceshould be changed to- allowedNonce
 
- 
decode options: - jsonoption has been removed
- checkTypoption has been introduced. If set to a string value, a check of the- typheader claim is forced. Example:- checkTyp: 'JWT'. By default- checkTypis- undefined.