I implemented a JWT strategy exactly as shown here: https://docs.nestjs.com/security/authentication#implementing-passport-jwt However, when I run the code the payload parameter of the validate function doesn't contain the decoded token, but the encoded one. Is the documentation wrong ?
Documentation | NestJS - A progressive Node.js framework
Nest is a framework for building efficient, scalable Node.js server-side applications. It uses progressive JavaScript, is built with TypeScript and combines elements of OOP (Object Oriented Progamming), FP (Functional Programming), and FRP (Functional Reactive Programming).