Step 1 — Create an iOS OAuth Client ID in Google Cloud Console
- Go to Google Cloud Console and open your project.
- Navigate to APIs & Services → Credentials.
- Click + Create Credentials → OAuth client ID.
- Set Application type to iOS.
- Enter a name (e.g.
Blockli iOS Release). - Enter your Bundle ID — this must match your app’s bundle identifier exactly (e.g.
com.example.myapp). - Click Create.
Blockli iOS Test).
Step 2 — Add the Client IDs to your WordPress settings
- In your WordPress admin, open the Blockli plugin and go to Settings.
- Scroll down to the Social Login section.
- Check Enable Google sign-in if it is not already enabled.
- Under Google client IDs, add your iOS Release and iOS Test Client IDs using the input field and the Add button.
- Check Create WordPress users from verified social sign-ins if you want new users to be able to register through Google Sign-In. When this is off, social login only works for accounts that already exist in WordPress (matched by email or a previously linked account).
- Save your settings.
Verify
Install a test build on an iOS device and confirm the Google Sign-In button appears and completes without error. If sign-in fails, check:- The bundle ID on the OAuth client ID matches the app build you are testing.
- The iOS Client ID has been added in WordPress → Blockli → Settings → Social Login.
- The Web Client ID is also in the list — it is required for backend token verification.

