Search code examples
node.jsexpresspassport.jsgoogle-cloud-platformpassport-google-oauth2

Prerequisites for setting up Node server with Google authentication


I'm trying to setup a basic website with user profiles, and I thought using passport-google might be the simplest way. But as far as I can tell, I need some account on the Google Cloud Platform to access the API, which doesn't appear to be a free service. This isn't so much of an issue, but I don't really know which of the many products I will need, and what pricing will look like.

More succinctly, I'm trying very hard to find my

clientID: GOOGLE_CLIENT_ID,
clientSecret: GOOGLE_CLIENT_SECRET,

Solution

  • You can register your Client ID and Client Secret by following the steps here: https://developers.google.com/identity/sign-in/web/devconsole-project