Google Login

Step 1: Create a Project in the Google Cloud Console

  1. Go to the Google Cloud Console.
  2. Click on the project drop-down at the top left of the console and select "New Project."
  3. Enter a name for your project and click "Create."

Step 2: Enable the Google Sign-In API

  1. In the Cloud Console, navigate to the "API & Services" > "Dashboard."
  2. Click on the "+ ENABLE APIS AND SERVICES" button.
  3. Search for "Google Sign-In API" and select it.
  4. Click on the "Enable" button.

Step 3: Create Credentials

  1. In the Cloud Console, navigate to "APIs & Services" > "Credentials."
  2. Click on the "Create Credentials" dropdown and select "OAuth client ID."
  3. Choose the application type, such as "Web application" for a web app.
  4. Set the authorized JavaScript origins and redirect URIs based on your application's URLs.
  5. Click "Create."

Step 4: Obtain Your Client ID and Client Secret

  1. After creating credentials, you'll see your client ID and client secret.
  2. Copy and store these securely. Do not expose your client secret.

Important Note:

  • Security: Protect your client secret and do not expose it in public repositories or share it publicly.
  • Call Back URL: Please use the provided call back URL given.

Did you find this article useful?

  • Facebook Login

    Step 1: Create a Facebook App Go to the Facebook Developers website and log in with your Facebook a...