Skip to content

Instantly share code, notes, and snippets.

@tphdev
Created March 31, 2017 12:48
Show Gist options
  • Save tphdev/6e7b67a95db707f4e827cd34a809eb42 to your computer and use it in GitHub Desktop.
Save tphdev/6e7b67a95db707f4e827cd34a809eb42 to your computer and use it in GitHub Desktop.
secrets
let youtubeRedirectUrl = 'http://www.yoursite.com/oauth/youtube/redirect-callback'
if(process.env.NODE_ENV === 'development'){
youtubeRedirectUrl = 'http://localhost:3000/oauth/youtube/redirect-callback'
}
module.exports = {
sessionSecret: 'cookieMonster7482',
youTubeOAuth: {
clientID:'221782448762-5svpitibr4rhfq7tvs422egniceb2m8d.apps.googleusercontent.com',
clientSecret:'N_2IVSNM-C9qNmO4k5w-FXod',
clientRedirect: youtubeRedirectUrl
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment