Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

How to set up oauth on google cloud platform?


Asked by Cara Marsh on Dec 04, 2021 Mini Program Cloud Development Study Guide



Go to the Google API Console OAuth consent screen page. Add required information like a product name and support email address. Click Add Scope. On the dialog that appears, select the scopes your project uses. Sensitive scopes display a lock icon next to the API name.
Next,
To configure the OAuth consent screen: Open the Google Cloud Console. Next to Google Cloud Platform, click the Down arrow arrow_drop_down and select a project. At the top-left corner, click Menu menu. Click APIs & Services > Credentials.
Keeping this in consideration, In the left-hand navigation, click Credentials. The "Credentials" page appears. Click Create Credentials and select OAuth client ID. The "Create OAuth client ID" page appears. Click the Application type drop-down list and select the type of application you're creating.
Additionally,
If you want your app to read user data from another Google service, you'll need to set up OAuth 2.0 for Web Server Applications.
In fact,
The user can now sign into Google Cloud Console as well as authorize Cloud SDK tools. You can also create user accounts from gcloud, the REST API, or client libraries. Open the Service Accounts page in the Cloud Console. Select your project and click Open.