Coding task · NestJS course · Module 4: Authentication

JwtStrategy implementation

Create a JwtStrategy extending PassportStrategy with payload validation

Task

Complete the JwtStrategy class that extends PassportStrategy(Strategy) and implements a validate method checking if the user exists