[NestJS] ERROR [ExceptionHandler] JwtStrategy requires a secret or key


[NestJS] ERROR [ExceptionHandler] JwtStrategy requires a secret or key

어우 한 3시간 쓴 알고 보니 오류인데 import 잘못한 거였다. local.strategy.ts local.strategy.ts에서 passport-local로 해줘야 되는데 passport-jwt로 선언해서 안됐다. 심지어 구글링에서 계속 봤는데 영어 해석을 반대로 해서 못 고치고 있었다. 이럴 수가!!! jwt.strategy.ts jwt.strategy.ts에서는 jwt로 해줘야 한다....

[NestJS] ERROR [ExceptionHandler] JwtStrategy requires a secret or key에 대한 요약내용입니다.

자세한 내용은 아래에 원문링크를 확인해주시기 바랍니다.



원문링크 : [NestJS] ERROR [ExceptionHandler] JwtStrategy requires a secret or key