Skip to content

Commit

Permalink
Merge pull request #231 from boostcampwm2023/feat/200-naver-login
Browse files Browse the repository at this point in the history
[Hotfix] naverStrategy profile 파싱 변경
  • Loading branch information
mingxoxo authored Dec 6, 2023
2 parents 047a6aa + cc6a825 commit 4f42ae4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion BE/src/auth/strategies/naver.strategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ export class NaverOAuthStrategy extends PassportStrategy(Strategy, "naver") {
profile: Profile,
): Promise<User> {
try {
const { email, id, nickname } = profile;
const { _json } = profile;
const { email, id, nickname } = _json;
const user = new User();

const salt = await bcrypt.genSalt();
Expand Down

0 comments on commit 4f42ae4

Please sign in to comment.