
진짜 바보같은 실수지만 그래도 기록은 해야지... passport를 이용해 구글 login을 구현하던 중 save 단계에서 무한 츠쿠요미가 발생하는 문제가 발생했다.const googleStrategyConfig = new GoogleStrategy({ clientID: googleClientID, clientSecret: googleClientSecret, callbackURL: googleCallbackURL, scope: ['email', 'profile']}, (accessToken, refreshToken, profile, done) => { console.log("profile = ", profile) User.findOne({googleId: profile.i..