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

> MFA の時間ベースのワンタイムパスワード（OTP）通知を設定する方法について説明します。

# MFA の OTP 通知を設定する

Auth0 は、<Tooltip tip="多要素認証（MFA）: SMS で送信されるコードなど、ユーザー名とパスワードに加えて認証要素を使用するユーザー認証プロセスです。" cta="用語集を表示" href="/ja/docs/glossary?term=multi-factor+authentication">多要素認証</Tooltip>の認証要素としてワンタイムパスワード (OTP) をサポートしています。ユーザーが OTP を利用できるようにするには、まず Auth0 テナントで [OTP を MFA の認証要素として有効にする](/ja/docs/secure/multi-factor-authentication/enable-mfa) 必要があります。

アプリケーションで有効にすると、ユーザーはアプリケーションにアクセスする際に OTP に登録できます。そのためには、次のような認証アプリをデバイスにインストールする必要があります。

* Auth0 Guardian ([Google Play](https://play.google.com/store/apps/details?id=com.auth0.guardian) / [App Store](https://itunes.apple.com/us/app/auth0-guardian/id1093447833))
* Authy ([Google Play](https://play.google.com/store/apps/details?id=com.authy.authy) / [App Store](https://itunes.apple.com/us/app/authy/id494168017))
* Google Authenticator ([Google Play](https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2) / [App Store](https://itunes.apple.com/us/app/google-authenticator/id388497605))
* Microsoft Authenticator ([Google Play](https://play.google.com/store/apps/details?id=com.azure.authenticator) / [App Store](https://itunes.apple.com/us/app/microsoft-authenticator/id983156458))

<div id="user-otp-workflow">
  ## ユーザーのOTPワークフロー
</div>

ユーザーが <Tooltip tip="Universal Login: アプリケーションは、ユーザーの本人確認を行うために、Auth0 の認可サーバーでホストされている Universal Login にリダイレクトします。" cta="用語集を見る" href="/ja/docs/glossary?term=Universal+Login">Universal Login</Tooltip> プロンプトを通じてサインアップしようとすると、OTP を登録するために QR コードをスキャンするよう求められます。

<Frame>
  <img src="https://mintcdn.com/translations/Dcx0M11uuptU53TX/docs/images/cdy7uua7fh8z/2J6vWaonPbCvpuBUu9b8q1/b4ec4e66fc86021e5e31d000acaf18e2/QR_Code_-_EN_-_Small.png?fit=max&auto=format&n=Dcx0M11uuptU53TX&q=85&s=d5ea82d9ec6fe9a59ae97ca8a0a41e24" alt="Auth0 Guardian OTP QR コード設定の例" width="312" height="596" data-path="docs/images/cdy7uua7fh8z/2J6vWaonPbCvpuBUu9b8q1/b4ec4e66fc86021e5e31d000acaf18e2/QR_Code_-_EN_-_Small.png" />
</Frame>

ユーザーのデバイスがモバイルデバイスとして検出されると、Universal Login は QR コード画面をスキップし、代わりに登録コードをプロンプトに直接表示します。

<Frame>
  <img src="https://mintcdn.com/translations/MV7tE-x71x8RWRES/docs/images/cdy7uua7fh8z/5QvQ9FLYnVZXINFAeLkIr9/04df9be004169ac06b8d9fee456dc599/OTP_prompt_-_English.png?fit=max&auto=format&n=MV7tE-x71x8RWRES&q=85&s=b6dba657fcafdc300e67ac4a4b253b39" alt="モバイルデバイスに表示された一時的なワンタイムパスワード登録画面。 " width="498" height="685" data-path="docs/images/cdy7uua7fh8z/5QvQ9FLYnVZXINFAeLkIr9/04df9be004169ac06b8d9fee456dc599/OTP_prompt_-_English.png" />
</Frame>

ユーザーが OTP の登録を完了すると、アプリケーションへのログインに OTP を使用できます。そのためには、まず使用する認証アプリからワンタイムコードを取得します。

<Frame>
  <img src="https://mintcdn.com/translations/eVsQcTnbClN-oB7d/docs/images/cdy7uua7fh8z/1vVY2NLQwsOwdHIPU4Qj3B/026255e1549c3ec5bdc790280590d210/google-auth-screenshot.png?fit=max&auto=format&n=eVsQcTnbClN-oB7d&q=85&s=ded9a04530ad9028dc8269f11526970e" alt="Auth0 Guardian OTP コードの Google での例" width="300" height="534" data-path="docs/images/cdy7uua7fh8z/1vVY2NLQwsOwdHIPU4Qj3B/026255e1549c3ec5bdc790280590d210/google-auth-screenshot.png" />
</Frame>

次に、ログインプロンプトにワンタイムコードを入力します。

<Frame>
  <img src="https://mintcdn.com/translations/pvjQqAy3EB2TK6NP/docs/images/cdy7uua7fh8z/4dntQCYqgx5QyLZKW7quxR/20cab4bcde8270914d2c2979810cd5f5/OTP_challenge_-_EN_-_Small.png?fit=max&auto=format&n=pvjQqAy3EB2TK6NP&q=85&s=555d36d38b946d8265c125614a7c729a" alt="Auth0 Guardian OTP ログイン プロンプトの例" width="312" height="423" data-path="docs/images/cdy7uua7fh8z/4dntQCYqgx5QyLZKW7quxR/20cab4bcde8270914d2c2979810cd5f5/OTP_challenge_-_EN_-_Small.png" />
</Frame>

<div id="learn-more">
  ## 詳細
</div>

* [OTP 認証器の登録とチャレンジ](/ja/docs/secure/multi-factor-authentication/authenticate-using-ropg-flow-with-mfa/enroll-and-challenge-otp-authenticators)
