OAuth Client ID

The OAuth Client ID allows users to sign in with Google, facilitating secure authentication and access to user data across applications.

To create an OAuth client ID:

  1. Visit the link Google Cloud Console and log in to your account.

  2. If you already have a project, move to the next step. If not, create a new project first.

    Project Selection

  3. To create a project, click Select a Project, then click New Project.
    New Project

  4. Enter the project name and click the Create button. The project will be created.
    Create Project

    Project Created

  5. Select your project and navigate to APIs & Services by searching for it in the search bar.
    Navigate APIs

    APIs Services

  6. Navigate to the OAuth consent screen:
    • Check if an app already exists. If one does, skip to step 8.
    • If not, create a new app by checking the External radio button and clicking the Create button.
      Create App
  7. Enter the following details:
    • App Name
    • User Support Email
    • Developer Contact Information Then click the Save and Continue button.
      App Details
      Save Details
  8. On the Scopes page, click Save and Continue without making any changes.
    Scopes

  9. On the Test Users page, click the Save and Continue button.
    Test Users

  10. In summary, click the Back to Dashboard button.
    Dashboard

  11. Navigate to the Credentials page, click Create Credentials, and select OAuth Client ID.
    Create Credentials
    Select OAuth

  12. In the Application Type dropdown, select Web Application.
    Web Application

  13. Add your domain (e.g., ZenBasket domain or custom domain) to the URL. For example, if the URL is www.example.com, include both www.example.com and example.com. Then click Create to generate the OAuth Client ID.
    Add Domain
    Create OAuth

  14. Go to the OAuth consent screen, click the Publish Now button, and confirm your action to publish the app.
    Publish App
    Confirmation

  15. Finally, copy the Client ID from the credentials page.
    Copy Client ID