在 Identity Platform 上使用電話號碼登入使用者帳戶

本文說明如何使用 Identity Platform,透過電話號碼登入使用者帳戶。

事前準備

  1. 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.
  2. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  3. Verify that billing is enabled for your Google Cloud project.

  4. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  5. Verify that billing is enabled for your Google Cloud project.

  6. 啟用 Identity Platform。如要瞭解如何操作,請參閱快速入門導覽課程
  7. 為 Identity Platform 啟用手機登入功能

    1. 前往「Identity Providers」(識別資訊提供者) 頁面。

      前往「Identity Providers」(識別資訊提供者)

    2. 在「Identity Providers」頁面上,按一下「Add a provider」

    3. 在「Select a provider」(選取提供者) 清單中,選取「 Phone」(電話)

    4. 將「Enabled」(啟用) 切換為開啟。

    5. 如要儲存提供者設定,請按一下「儲存」

    為應用程式平台設定手機登入功能

    如果您使用 Identity Platform for Apple、Android 或網頁平台,也必須透過 Firebase 控制台設定應用程式。

    後續步驟