How to configure OAuth 2.0

Create OAuth 2.0 client ID

To create an OAuth client ID, follow the steps below:

  • Go to the “Credentials panel” and select “Credentials” from the sidebar.
  • Click the “CREATE CREDENTIALS” button.
  • Select the “OAuth client ID” option from the menu.
  • You’ll be asked to select the “Application type” and set the “Name” of your OAuth 2.0 client. Choose “Desktop app,” set an appropriate name for the client, and click the “CREATE” button.

A pop-up will appear that contains the client ID and secret key. These steps are illustrated below:

Select Credentials from the sidebar
1 of 4

Now that you’ve created an OAuth client ID for your project, a JSON file named client_secret_<CLIENTID>.json, where <CLIENTID> is the client ID, is available for download. The file contains your OAuth 2.0 credentials, so download it to your local device.

Download the client secret JSON file

Once downloaded, use the client-id and client-secret in your application.

Free Resources

Copyright ©2025 Educative, Inc. All rights reserved