Stay organized with collections
Save and categorize content based on your preferences.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[[["\u003cp\u003eThis document explains how to enable user sign-in with phone numbers using Identity Platform.\u003c/p\u003e\n"],["\u003cp\u003eYou must enable Identity Platform before enabling phone sign-in.\u003c/p\u003e\n"],["\u003cp\u003eEnabling phone sign-in is done by going to the Identity Providers page and selecting "Phone" as a provider.\u003c/p\u003e\n"],["\u003cp\u003eFor Apple, Android, or web platforms, phone sign-in must also be configured through the Firebase console with platform-specific settings.\u003c/p\u003e\n"],["\u003cp\u003eTest phone numbers can be used for development purposes and can be registered accordingly.\u003c/p\u003e\n"]]],[],null,["# Signing in users with a phone number on Identity Platform\n=========================================================\n\nThis document shows you how to use Identity Platform to sign in users with a\nphone number.\n\nBefore you begin\n----------------\n\n- Sign in to your Google Cloud account. If you're new to Google Cloud, [create an account](https://console.cloud.google.com/freetrial) to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.\n- In the Google Cloud console, on the project selector page,\n select or create a Google Cloud project.\n\n | **Note**: If you don't plan to keep the resources that you create in this procedure, create a project instead of selecting an existing project. After you finish these steps, you can delete the project, removing all resources associated with the project.\n\n [Go to project selector](https://console.cloud.google.com/projectselector2/home/dashboard)\n-\n [Verify that billing is enabled for your Google Cloud project](/billing/docs/how-to/verify-billing-enabled#confirm_billing_is_enabled_on_a_project).\n\n- In the Google Cloud console, on the project selector page,\n select or create a Google Cloud project.\n\n | **Note**: If you don't plan to keep the resources that you create in this procedure, create a project instead of selecting an existing project. After you finish these steps, you can delete the project, removing all resources associated with the project.\n\n [Go to project selector](https://console.cloud.google.com/projectselector2/home/dashboard)\n-\n [Verify that billing is enabled for your Google Cloud project](/billing/docs/how-to/verify-billing-enabled#confirm_billing_is_enabled_on_a_project).\n\n1. Enable Identity Platform. See the [Quickstart](/identity-platform/docs/sign-in-user-email) to learn how.\n\nEnable phone sign-in for Identity Platform\n------------------------------------------\n\n1. Go to the **Identity Providers** page.\n\n\n [Go to Identity Providers](https://console.cloud.google.com/customer-identity/providers)\n2. On the **Identity Providers** page, click **Add a provider**.\n\n3. In the **Select a provider** list, select\n phone **Phone**.\n\n4. Click the **Enabled** toggle to on.\n\n5. To save the provider settings, click **Save**.\n\nConfigure phone sign-in for your app platform\n---------------------------------------------\n\nIf you are using Identity Platform for Apple, Android, or web platforms, you must\nalso configure your app from the Firebase console.\n\n- For Apple platforms:\n\n - Enable phone number sign-in for your Firebase project.\n - Enable app verification with silent push notifications.\n\n For instructions, see [Authenticate with Firebase\n on Apple platforms using a phone number](https://firebase.google.com/docs/auth/ios/phone-auth).\n- For Android platforms:\n\n - Enable phone number sign-in for your Firebase project.\n - Enable app verification with the Play Integrity API.\n\n For instructions, see [Authenticate with\n Firebase on Android using a phone number](https://firebase.google.com/docs/auth/ios/phone-auth).\n- For web platforms:\n\n - Enable phone number sign-in for your Firebase project.\n - Set up the reCAPTCHA verifier.\n\n For instructions, see [Authenticate with Firebase with a phone number\n using JavaScript](https://firebase.google.com/docs/auth/web/phone-auth).\n\nWhat's Next\n-----------\n\n- Learn how to [register test phone\n numbers](/identity-platform/docs/test-phone-numbers) for development purposes."]]