diff --git a/BE/src/auth/strategies/naver.strategy.ts b/BE/src/auth/strategies/naver.strategy.ts index f7a20ff..2066775 100644 --- a/BE/src/auth/strategies/naver.strategy.ts +++ b/BE/src/auth/strategies/naver.strategy.ts @@ -22,7 +22,8 @@ export class NaverOAuthStrategy extends PassportStrategy(Strategy, "naver") { profile: Profile, ): Promise { try { - const { email, id, nickname } = profile; + const { _json } = profile; + const { email, id, nickname } = _json; const user = new User(); const salt = await bcrypt.genSalt();