Skip to content

Instantly share code, notes, and snippets.

@nikshinde-7
Created January 12, 2022 09:18
Show Gist options
  • Save nikshinde-7/02cae27b4cb51600f3a169b07569f9ac to your computer and use it in GitHub Desktop.
Save nikshinde-7/02cae27b4cb51600f3a169b07569f9ac to your computer and use it in GitHub Desktop.
passport.use(
new GoogleStrategy(
{
clientID: process.env.GOOGLEAPPCLIENTID,
clientSecret: process.env.GOOGLEAPPSECRETKEY,
callBackURL: callbackURL
},
googleRegistration // Callback function
)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment