<Integrating wiremock with node for google oauth f...
# stackoverflow
r
Integrating wiremock with node for google oauth flow I am trying to mock google oauth flow with wiremock in my nodejs app for integration tests. I have configured in my passport manager code: passport.use(new GoogleStrategy({ clientID: config.googleAuth.clientID, clientSecret: config.googleAuth.clientSecret, callbackURL: config.googleAuth.callbackURL, passReqToCallback: true, authorizationURL: process.env.GOOGLE_AUTH_URL || 'https://accounts.google.com/o/oauth2/v2/auth', tokenURL: process.env.GOOGLE_TOKEN_URL ||...