Signing in users with a phone number on Identity Platform
This document shows you how to use Identity Platform to sign in users with a phone number.
Before you begin
- Sign in to your Google Cloud account. If you're new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
-  In the Google Cloud console, on the project selector page, select or create a Google Cloud project. Roles required to select or create a project - Select a project : Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
-  Create a project 
: To create a project, you need the Project Creator
      ( roles/resourcemanager.projectCreator), which contains theresourcemanager.projects.createpermission. Learn how to grant roles .
 
-  Verify that billing is enabled for your Google Cloud project . 
-  In the Google Cloud console, on the project selector page, select or create a Google Cloud project. Roles required to select or create a project - Select a project : Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
-  Create a project 
: To create a project, you need the Project Creator
      ( roles/resourcemanager.projectCreator), which contains theresourcemanager.projects.createpermission. Learn how to grant roles .
 
-  Verify that billing is enabled for your Google Cloud project . 
- Enable Identity Platform. See the Quickstart to learn how.
Enable phone sign-in for Identity Platform
-  Go to the Identity Providerspage. 
-  On the Identity Providerspage, click Add a provider. 
-  In the Select a providerlist, select Phone. 
-  Click the Enabledtoggle to on. 
-  To save the provider settings, click Save. 
Configure phone sign-in for your app platform
If you are using Identity Platform for Apple, Android, or web platforms, you must also configure your app from the Firebase console.
-  For Apple platforms: - Enable phone number sign-in for your Firebase project.
- Enable app verification with silent push notifications.
 For instructions, see Authenticate with Firebase on Apple platforms using a phone number . 
-  For Android platforms: - Enable phone number sign-in for your Firebase project.
- Enable app verification with the Play Integrity API.
 For instructions, see Authenticate with Firebase on Android using a phone number . 
-  For web platforms: - Enable phone number sign-in for your Firebase project.
- Set up the reCAPTCHA verifier.
 For instructions, see Authenticate with Firebase with a phone number using JavaScript . 
What's Next
- Learn how to register test phone numbers for development purposes.
- Learn how to use SMS regions to restrict Identity Platform SMS verification usage .

