Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

oauth
gcp

How to configure OAuth 2.0

Hafiz Ahmad Shahzad

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

Answers Code

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.

RELATED TAGS

oauth
gcp

CONTRIBUTOR

Hafiz Ahmad Shahzad
Copyright ©2022 Educative, Inc. All rights reserved

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

Answers Code
Keep Exploring