Skip to content

Commit

Permalink
chore: passport-naver 버전 낮추기
Browse files Browse the repository at this point in the history
- passport-kakao와의 충돌을 피하기 위해 passport-naver의 버전을 구버전으로 사용
  • Loading branch information
JoonSoo-Kim committed Dec 5, 2023
1 parent 20d2bf3 commit 5a71ba3
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 8 deletions.
78 changes: 72 additions & 6 deletions BE/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion BE/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
"mysql2": "^3.6.3",
"passport": "^0.6.0",
"passport-jwt": "^4.0.1",
"passport-naver-v2": "^2.0.8",
"passport-kakao": "^1.0.1",
"passport-naver": "^1.0.6",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.8.1",
"typeorm": "^0.3.17"
Expand Down
2 changes: 1 addition & 1 deletion BE/src/auth/strategies/naver.strategy.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Injectable, BadRequestException } from "@nestjs/common";
import { PassportStrategy } from "@nestjs/passport";
import { Profile, Strategy } from "passport-naver-v2";
import { Profile, Strategy } from "passport-naver";
import { User } from "../users.entity";
import { providerEnum } from "src/utils/enum";

Expand Down

0 comments on commit 5a71ba3

Please sign in to comment.