Login with Google on an iPhone (Local Metro server + Dev Build) - Part 4/7: Google Cloud Console
Source: Dev.to
Configure oAuth
Project
The project is the top‑level container (e.g., “My Startup”). One project is sufficient for all of your apps.
Consent Screen
Configure the consent screen once per project. This is what users see when they log in (logo, privacy‑policy link, etc.).
Client IDs
Create multiple client IDs within the same project. You will need one client for each app/platform/environment (e.g., iOS, Android, web; development, preview, production). For now, we’ll add a single client for iOS / development.
Step 1/3 – Create a Project
- Fill in the Project Name and click Create.
- In the left‑hand menu select APIs & Services → OAuth consent screen → Get Started.
- Enter the App name and contact email, then click Next.
- Complete the remaining fields and click Finish.
Create an iOS OAuth Client
- In APIs & Services, choose Credentials → Create credentials → OAuth client ID.
- Select iOS as the application type.
- Enter the Bundle ID that matches the bundle identifier in your
app.json. - Click Create.
Note: For development instances, Clerk provides “Shared Credentials” for popular providers like Google. When you create an iOS‑type credential in Google Cloud, Google intentionally omits the client secret; it uses your Bundle ID to verify the app’s identity.