> ## Documentation Index
> Fetch the complete documentation index at: https://auth0-actions-modules-ga.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> MFA と Passwordless 向けに Auth0 の Unified Phone Experience を設定する方法を説明します。

# Auth0 Unified Phone Experience を設定する

<Card title="始める前に">
  [Passwordless SMS 認証](/docs/ja-jp/authenticate/passwordless/authentication-methods/use-sms-gateway-passwordless)、[MFA の SMS および音声通知](/docs/ja-jp/secure/multi-factor-authentication/multi-factor-authentication-factors/configure-sms-voice-notifications-mfa)、または Phone as ID を使用する場合は、Unified Phone Experience で電話プロバイダーを設定する必要があります。

  MFA、Passwordless、Phone as ID でそれぞれ異なるプロバイダーが必要な場合は、Auth0 Actions を使用して[カスタム電話プロバイダー](/docs/ja-jp/customize/phone-messages/configure-phone-messaging-providers/configure-a-custom-phone-provider)を設定する必要があります。
</Card>

Unified Phone Experience では、電話プロバイダーの設定をテナント内の 1 か所に集約できます。これにより、さまざまな電話認証要素ごとに電話プロバイダーを何度も設定する必要がなくなります。

電話メッセージ機能を試すには、テナントレベルの電話プロバイダーを設定する必要があります。

<Callout icon="file-lines" color="#0EA5E9" iconType="regular">
  Auth0 は、テナントレベルのプロバイダーを使用した電話メッセージの送信が成功したかどうかを、エンドユーザーに通知しません。問題をトラブルシューティングするには、[テナントログ](/docs/ja-jp/deploy-monitor/logs)を確認してください。
</Callout>

<h2 id="configure-mfa">
  MFA を設定する
</h2>

Unified Phone Experience では、SMS、音声、SMS + 音声の配信方法と認証要素を使用できます。Auth0 での <Tooltip tip="多要素認証（MFA）: SMS で送信されるコードなど、ユーザー名とパスワードに加えて別の要素を使用するユーザー認証プロセス。" cta="用語集を見る" href="/docs/ja-jp/glossary?term=MFA">MFA</Tooltip> について詳しくは、[多要素認証](/docs/ja-jp/secure/multi-factor-authentication) を参照してください。

1. Auth0 ダッシュボードで、[**Branding > Phone Provider**](https://manage.auth0.com/#/phone/templates/phone/provider) に移動します。
2. **Phone Message Provider** トグルを有効にします。

   <Frame>
     <img src="https://mintlify.s3.us-west-1.amazonaws.com/auth0-actions-modules-ga/docs/images/cdy7uua7fh8z/1k93jvdxDq2FZLiRdvr5aR/d917431cd0265943c5118174a8673118/2025-02-24_16-43-14.png" alt="Auth0 Dashboard > Branding > Phone Provider > Enable Phone Message Provider" />
   </Frame>
3. 電話メッセージプロバイダーを選択します。

   1. 電話プロバイダーとして Twilio を使用する場合は、[Configure Twilio as a Phone Messaging Provider](/docs/ja-jp/customize/phone-messages/configure-phone-messaging-providers/configure-twilio-as-a-phone-messaging-provider) の手順に従います。
   2. カスタムプロバイダーを使用する場合は、[Configure a Custom Phone Provider](/docs/ja-jp/customize/phone-messages/configure-phone-messaging-providers/configure-a-custom-phone-provider) の手順に従って Auth0 Actions を使用します。
4. 配信方法を選択します。

   <Callout icon="file-lines" color="#0EA5E9" iconType="regular">
     使用する MFA の認証要素は、テナントレベルで設定した配信方法のサブセットである必要があります。
   </Callout>
5. 変更を **Save** します。
6. 完了したら、[Security > Multi-factor Auth](https://manage.auth0.com/#/security/mfa) に移動します。
7. **Phone Message** を選択します。
8. 認証要素を選択します。
9. 変更を **Save** します。

<h2 id="configure-passwordless">
  Passwordless を設定する
</h2>

<Tooltip tip="Passwordless: 第一要素としてパスワードに依存しない認証方式。" cta="用語集を見る" href="/docs/ja-jp/glossary?term=Passwordless">Passwordless</Tooltip> SMS 接続で Unified Phone Experience を利用できます。Auth0 の Passwordless 認証の詳細については、[Passwordless Connections](/docs/ja-jp/authenticate/passwordless) を参照してください。

1. Auth0 ダッシュボード で [**Branding > Phone Provider**](https://manage.auth0.com/#/phone/templates/phone/provider) に移動します。
2. Phone Message Provider のトグルを有効にします。

   <Frame>
     <img src="https://mintlify.s3.us-west-1.amazonaws.com/auth0-actions-modules-ga/docs/images/cdy7uua7fh8z/1k93jvdxDq2FZLiRdvr5aR/d917431cd0265943c5118174a8673118/2025-02-24_16-43-14.png" alt="Auth0 Dashboard > Branding > Phone Provider > Enable Phone Message Provider" />
   </Frame>
3. 電話メッセージプロバイダーを選択します。

   1. 電話プロバイダーとして Twilio を使用する場合は、[Configure Twilio as a Phone Messaging Provider](/docs/ja-jp/customize/phone-messages/configure-phone-messaging-providers/configure-twilio-as-a-phone-messaging-provider) の手順に従ってください。
   2. カスタムプロバイダーを使用する場合は、Auth0 Actions を使用するために [Configure a Custom Phone Provider](/docs/ja-jp/customize/phone-messages/configure-phone-messaging-providers/configure-a-custom-phone-provider) の手順に従ってください。
4. 配信方法を選択します。

   <Callout icon="file-lines" color="#0EA5E9" iconType="regular">
     設定する配信方法として **Text** を選択しないと、Passwordless との統合は機能しません。
   </Callout>
5. 変更を **Save** します。
6. 完了したら、[**Authentication > Passwordless > SMS**](https://manage.auth0.com/#/connections/passwordless) に移動します。
7. 変更を **Save** します。
8. Twilio を使用している場合:

   1. [**Applications > Applications**](https://manage.auth0.com/#/applications) に移動します。
   2. Passwordless 用の Twilio SMS 接続で使用するアプリケーションを選択します。
   3. **Connections** で、SMS (Twilio) オプションを有効にします。
   4. [**Authentication > Passwordless > SMS**](https://manage.auth0.com/#/connections/passwordless) に戻ります。
   5. **Applications** タブで、Passwordless SMS に使用するすべてのアプリケーションを有効にします。
   6. 変更を **Save** します。

<Callout icon="file-lines" color="#0EA5E9" iconType="regular">
  従来の [MFA](/docs/ja-jp/secure/multi-factor-authentication/multi-factor-authentication-factors/configure-sms-voice-notifications-mfa) および [Passwordless](/docs/ja-jp/authenticate/passwordless/authentication-methods/use-sms-gateway-passwordless) のエクスペリエンスが必要なユースケースがある場合は、[Auth0 Support](/docs/ja-jp/troubleshoot/customer-support) にお問い合わせください。
</Callout>

<h3 id="test-your-phone-provider">
  電話プロバイダーをテストする
</h3>

本番環境で使用する前に、テナントレベルのプロバイダーをテストします。

1. [**Branding > Phone Provider**](https://manage.auth0.com/#/phone/templates/phone/provider) に移動します。
2. 本番環境で使用する前に、**Send Test Message** を選択して、テナントレベルのプロバイダーをテストします。

<h2 id="configure-phone-templates">
  電話テンプレートを設定する
</h2>

テナントレベルの電話プロバイダーでは、[Liquid syntax](https://github.com/Shopify/liquid/wiki/Liquid-for-Designers) を使用して、電話メッセージの内容にコンテキスト変数を埋め込みます。電話テンプレートを設定するには、[電話テンプレートをカスタマイズする](/docs/ja-jp/customize/phone-messages/phone-templates/customize) の手順に従ってください。

<h2 id="disable-phone-provider">
  電話プロバイダーを無効にする
</h2>

Unified Phone Experience を設定した後で無効にすると、MFA の電話認証要素を含め、既存の電話プロバイダー連携が正常に動作しなくなる可能性があります。

<Frame>
  <img src="https://mintlify.s3.us-west-1.amazonaws.com/auth0-actions-modules-ga/docs/images/cdy7uua7fh8z/3qqa2QWXRNKZV96AQq6O0G/28cdff44a9532f5c005a5e1acb763ab8/2025-02-24_14-58-47.png" alt="" />
</Frame>
