guard 썸네일형 리스트형 [NestJS] passport-jwt JWTStrategy 10 yarn add @nestjs/passport passport passport-jwt jsonwebtoken @types/jsonwebtoken jwtStragety 추가하고Guard 추가한 후, 적용할 controller나 method에 guard 적용import { FastifyRequest } from "fastify";import { PassportStrategy } from "@nestjs/passport";import { Injectable } from "@nestjs/common";import { Strategy as JwtStrategy, ExtractJwt, VerifiedCallback } from "passport-jwt";import { ConfigService } from "@ne.. 더보기 이전 1 다음