I have the JwtStrategy class from docs example (https://docs.nestjs.com/techniques/authentication):
@Injectable() export class JwtStrategy extends PassportSt
Just remove this., see here:
this.
secretOrKey: configService.getSecretKey
It will work since configService has been passed as a parameter.
configService