Search results
- Click the following button to open Cloud Shell, which provides command-line access to your Google Cloud resources directly from the browser. Cloud Shell can be used to run the gcloud commands presented throughout this quickstart.
cloud.google.com › sql › docsConnect to Cloud SQL for MySQL from Cloud Shell - Google Cloud
Google Cloud Platform lets you build, deploy, and scale applications, websites, and services on the same infrastructure as Google.
- Setting up OAuth 2.0
Setting up OAuth 2.0. To use OAuth 2.0 in your application,...
- Frequently Asked Questions
You can access data from your users' Google Cloud projects...
- Setting up OAuth 2.0
People also ask
How to access Google Cloud console?
What is Google Cloud Platform console?
How does Google Cloud Platform work?
How do I invite employees to Google Cloud Platform?
- Overview
- Service accounts, web applications, and native applications
- Custom URI scheme
- Rotating your client secrets
To use OAuth 2.0 in your application, you need an OAuth 2.0 client ID, which your application uses when requesting an OAuth 2.0 access token.
To create an OAuth 2.0 client ID in the console:
Go to the Google Cloud Platform Console.
From the projects list, select a project or create a new one.
If the APIs & services page isn't already open, open the console left side menu and select APIs & services.
On the left, click Credentials.
For information about setting up service accounts, web applications, or device-native applications, see the following topics.
Service accounts
A service account is used in an application that calls APIs on behalf of an application that does not access user information. This type of application needs to prove its own identity, but it does not need a user to authorize requests.
For example, if your project employs server-to-server interactions such as those between a web application and Google Cloud Storage, then you need a private key and other service account credentials. To generate these credentials, or to view the email address and public keys that you've already generated, do the following:
1. Open the Google Cloud Platform Console Credentials page.
2. If it's not already selected, select the project that you're creating credentials for.
This setting enables custom URI schemes for your Android client. Custom URI schemes aren’t recommended and are disabled by default on Android because they are vulnerable to app impersonation.
iOS
If your application accesses APIs directly from iOS, you will need the application's Bundle ID and, optionally, its Apple App Store ID and Team ID:
• The application's Bundle ID is the bundle identifier as listed in the app's .plist file. For example: com.example.myapp.
• The application's App Store ID is in the app's App Store URL, if the app was published in the Apple App Store. For example, in the app URL https://apps.apple.com/us/app/google/id284815942, the App Store ID is 284815942.
• The application's Team ID is a 10-character string that Apple assigns to your team. For information about your Team ID, see Locating your Team ID in the Apple App Distribution Guide.
Client secrets or credentials should be treated with extreme care as described in the OAuth 2.0 policies, because they allow anyone who has them to use your app's identity to gain access to user information. With the client secret rotation feature, you can add a new secret to your OAuth client configuration, migrate to the new secret while the old secret is still usable, and disable the old secret afterwards. This is useful when the client secret has been inadvertently disclosed or leaked. This also ensures good security practices by occasionally rotating your secrets without causing downtime of your app. In addition, Google started to issue more secure client secrets recommended by RFC 6749 in 2021. While apps that were created earlier are able to continue using the old secrets, we recommend that you migrate to the new secret with this rotation feature.
To rotate your client secret, please follow the following steps:
Step 1: Create a new client secret
1. Go to the Google Cloud Platform Console Credentials page.
2. If it's not already selected, select the project that you want to update.
3. From the list of OAuth 2.0 Client IDs, click the client you want to generate a new client secret for.
You can access data from your users' Google Cloud projects by creating a service account to represent your service, and then having your customers grant that service account appropriate...
This codelab shows you how to create a Google Cloud project, set up and navigate the Google Cloud Console, and access some of the most commonly used services in the Cloud Console.
3 days ago · Sign in a user with an email by using Identity Platform. Learn how to use Identity Platform to sign in a user with an email and password. To follow step-by-step guidance for this task directly in...
Your page may be loading slowly because you're building optimized sources. If you intended on using uncompiled sources, please click this link.