Skip to content

angelbenoit/MERN-Boilerplate

Repository files navigation

Google Auth With Mern

Add this to config/keys.js
module.exports = {
    googleClientID:'',
    googleClientSecret:'',
    mongoURI:''
}

At https://console.developers.google.com, set Authorized JavaScript origins to http://localhost:5000, and Authorized redirect URIs to 'http://localhost:5000/auth/google/callback' and 'http://localhost:3000/auth/google/callback'. Double check that Cliend ID and Client secret match the ones in config/keys.js

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published