Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 484 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 484 Bytes

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