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

# Use the Unified Phone Experience for Passwordless

> Learn how to configure the Unified Phone Experience for Passwordless authentication.

<Card title="Avant de commencer">
  To migrate to the Unified Phone Experience, you must:

  * Have Multi-Factor Authentication (MFA) SMS, Voice, or SMS+Voice notifications enabled and configured in your tenant, or
  * Have Passwordless SMS enabled and configured in your tenant

  If you have not configured either MFA or Passwordless, read [Configure Auth0's Unified Phone Experience](/docs/fr-CA/fr-ca/customize/phone-messages/unified-phone/configure-unified-phone) to start from the beginning.

  If you have both MFA and Passwordless integrations with different providers, you must use a [Custom Phone Provider](/docs/fr-CA/fr-ca/customize/phone-messages/configure-phone-messaging-providers/configure-a-custom-phone-provider).

  If you utilize Phone as ID, you are automatically using Auth0's Unified Phone Experience and no additional action is needed.
</Card>

The Unified Phone Experience centralizes all your phone provider configurations in one location in your tenant. You won’t need to configure a phone provider multiple times for various phone authentication factors. To learn more about phone factors for <Tooltip href="/docs/fr-CA/fr-ca/glossary?term=passwordless" tip="Sans mot de passe
Forme d’authentification qui ne repose pas sur un mot de passe comme premier facteur." cta="Voir le glossaire">Passwordless</Tooltip>, read [Passwordless Authentication with SMS](/docs/fr-CA/fr-ca/authenticate/passwordless/authentication-methods/sms-otp).

If you already have a phone provider configured for Passwordless, you can migrate your configuration to the Unified Phone Experience and apply your configuration at the tenant-level.

<Callout icon="file-lines" color="#0EA5E9" iconType="regular">
  Auth0 does not provide feedback to the end user on whether a phone message has been sent successfully with the tenant-level provider. To troubleshoot issues, review the [tenant logs](/docs/fr-CA/fr-ca/deploy-monitor/logs).
</Callout>

<div id="update-your-phone-provider">
  ## Update your phone provider
</div>

To use the Unified Phone Experience, you need to:

* Verify current settings
* Configure your provider:

  * Configure Twilio
  * Configure a custom phone provider
* Update delivery methods

<div id="verify-current-settings">
  ### Verify current settings
</div>

1. To verify your current Passwordless settings, navigate to [**Auth0 Dashboard > Authentication > Passwordless > SMS**](https://manage.auth0.com/#/connections/passwordless).
2. Select **Phone Message**.
3. If you are able to use the Unified Phone Experience, a banner advises you to configure a tenant-level provider:

<Frame>
  <img src="https://mintcdn.com/generaltranslationinc/g_5uXNJ2fsuQgUNN/docs/images/fr-ca/cdy7uua7fh8z/7piF5GX9dZL0EXC8SRtMzE/41737a34205541cee46cdbf364401bbc/2025-02-12_15-56-26.png?fit=max&auto=format&n=g_5uXNJ2fsuQgUNN&q=85&s=042d34aa439ed83fd2abaae55789206f" alt="Dashboard > Authentication > Passwordless > SMS" data-og-width="500" width="500" data-og-height="433" height="433" data-path="docs/images/fr-ca/cdy7uua7fh8z/7piF5GX9dZL0EXC8SRtMzE/41737a34205541cee46cdbf364401bbc/2025-02-12_15-56-26.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/generaltranslationinc/g_5uXNJ2fsuQgUNN/docs/images/fr-ca/cdy7uua7fh8z/7piF5GX9dZL0EXC8SRtMzE/41737a34205541cee46cdbf364401bbc/2025-02-12_15-56-26.png?w=280&fit=max&auto=format&n=g_5uXNJ2fsuQgUNN&q=85&s=2ae294afdf4b3dfbdd5a9dfaf87d7eee 280w, https://mintcdn.com/generaltranslationinc/g_5uXNJ2fsuQgUNN/docs/images/fr-ca/cdy7uua7fh8z/7piF5GX9dZL0EXC8SRtMzE/41737a34205541cee46cdbf364401bbc/2025-02-12_15-56-26.png?w=560&fit=max&auto=format&n=g_5uXNJ2fsuQgUNN&q=85&s=c91c154d3d9a5577609386b75b9fef25 560w, https://mintcdn.com/generaltranslationinc/g_5uXNJ2fsuQgUNN/docs/images/fr-ca/cdy7uua7fh8z/7piF5GX9dZL0EXC8SRtMzE/41737a34205541cee46cdbf364401bbc/2025-02-12_15-56-26.png?w=840&fit=max&auto=format&n=g_5uXNJ2fsuQgUNN&q=85&s=df4d5c3c4b3b9a21665136b4040f1afe 840w, https://mintcdn.com/generaltranslationinc/g_5uXNJ2fsuQgUNN/docs/images/fr-ca/cdy7uua7fh8z/7piF5GX9dZL0EXC8SRtMzE/41737a34205541cee46cdbf364401bbc/2025-02-12_15-56-26.png?w=1100&fit=max&auto=format&n=g_5uXNJ2fsuQgUNN&q=85&s=082075106590de21582b6ffb7690aea3 1100w, https://mintcdn.com/generaltranslationinc/g_5uXNJ2fsuQgUNN/docs/images/fr-ca/cdy7uua7fh8z/7piF5GX9dZL0EXC8SRtMzE/41737a34205541cee46cdbf364401bbc/2025-02-12_15-56-26.png?w=1650&fit=max&auto=format&n=g_5uXNJ2fsuQgUNN&q=85&s=7a4cb218df33ea44b686481d3b188ab5 1650w, https://mintcdn.com/generaltranslationinc/g_5uXNJ2fsuQgUNN/docs/images/fr-ca/cdy7uua7fh8z/7piF5GX9dZL0EXC8SRtMzE/41737a34205541cee46cdbf364401bbc/2025-02-12_15-56-26.png?w=2500&fit=max&auto=format&n=g_5uXNJ2fsuQgUNN&q=85&s=6c76613e382a114bd4e7d6518d221b32 2500w" />
</Frame>

<Callout icon="file-lines" color="#0EA5E9" iconType="regular">
  If you must use the legacy experience to configure your phone provider, and the toggle to use a tenant-level provider is missing, contact [Auth0 Support](https://auth0.com/docs/troubleshoot/customer-support).
</Callout>

<div id="configure-twilio-as-a-tenant-level-provider">
  ### Configure Twilio as a tenant-level provider
</div>

If you are using Twilio as your phone provider for Passwordless, you must add the Twilio SID and AuthToken to the Unified Phone Experience. You can copy the Twilio SID from your existing configuration, but you will need to get the value of the AuthToken from Twilio.

1. Navigate to [**Branding > Phone Provider**](https://manage.auth0.com/#/phone/templates/phone/provider).

2. Select and configure your provider:

   <Frame>
     <img src="https://mintcdn.com/generaltranslationinc/9lDbWecp3mLK18lk/docs/images/fr-ca/cdy7uua7fh8z/6TESTIdmhUL0LEitACadIK/fcdc34e18a6b66b47370f6d754c085b5/2025-02-21_12-49-53.png?fit=max&auto=format&n=9lDbWecp3mLK18lk&q=85&s=02c0ad72951f98bfc4248a729b2ce5f1" alt="Branding > Phone Provider > Twilio" data-og-width="500" width="500" data-og-height="612" height="612" data-path="docs/images/fr-ca/cdy7uua7fh8z/6TESTIdmhUL0LEitACadIK/fcdc34e18a6b66b47370f6d754c085b5/2025-02-21_12-49-53.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/generaltranslationinc/9lDbWecp3mLK18lk/docs/images/fr-ca/cdy7uua7fh8z/6TESTIdmhUL0LEitACadIK/fcdc34e18a6b66b47370f6d754c085b5/2025-02-21_12-49-53.png?w=280&fit=max&auto=format&n=9lDbWecp3mLK18lk&q=85&s=be6eb758238d7e474825e03617a4e209 280w, https://mintcdn.com/generaltranslationinc/9lDbWecp3mLK18lk/docs/images/fr-ca/cdy7uua7fh8z/6TESTIdmhUL0LEitACadIK/fcdc34e18a6b66b47370f6d754c085b5/2025-02-21_12-49-53.png?w=560&fit=max&auto=format&n=9lDbWecp3mLK18lk&q=85&s=5dad88e95beb8be3065f1c23867161d9 560w, https://mintcdn.com/generaltranslationinc/9lDbWecp3mLK18lk/docs/images/fr-ca/cdy7uua7fh8z/6TESTIdmhUL0LEitACadIK/fcdc34e18a6b66b47370f6d754c085b5/2025-02-21_12-49-53.png?w=840&fit=max&auto=format&n=9lDbWecp3mLK18lk&q=85&s=f3fb80e438e8e16483cebda3a0ed20f2 840w, https://mintcdn.com/generaltranslationinc/9lDbWecp3mLK18lk/docs/images/fr-ca/cdy7uua7fh8z/6TESTIdmhUL0LEitACadIK/fcdc34e18a6b66b47370f6d754c085b5/2025-02-21_12-49-53.png?w=1100&fit=max&auto=format&n=9lDbWecp3mLK18lk&q=85&s=2c0092a18984636c495c0445a4c51372 1100w, https://mintcdn.com/generaltranslationinc/9lDbWecp3mLK18lk/docs/images/fr-ca/cdy7uua7fh8z/6TESTIdmhUL0LEitACadIK/fcdc34e18a6b66b47370f6d754c085b5/2025-02-21_12-49-53.png?w=1650&fit=max&auto=format&n=9lDbWecp3mLK18lk&q=85&s=443de17c0ab02f7821e5e121e6fe2af8 1650w, https://mintcdn.com/generaltranslationinc/9lDbWecp3mLK18lk/docs/images/fr-ca/cdy7uua7fh8z/6TESTIdmhUL0LEitACadIK/fcdc34e18a6b66b47370f6d754c085b5/2025-02-21_12-49-53.png?w=2500&fit=max&auto=format&n=9lDbWecp3mLK18lk&q=85&s=6a613aff39c5856972760f3ef002e8f8 2500w" />
   </Frame>

   1. Choose Twilio as your phone provider.
   2. Choose your delivery methods.
   3. Enter Twilio settings.

3. **Save** your changes.

4. Select **Send Test Message** to test the tenant-level provider before using it in a production environment.

5. Enable a tenant-level provider.

   1. Navigate to [**Authentication > Passwordless > SMS**](https://manage.auth0.com/#/connections/passwordless).
   2. Select **Use Tenant-level Messaging Provider**

      <Warning>
        If no toggle exists in your tenant, you are already using the Unified Phone experience.
      </Warning>

6. **Save** your changes.

<div id="create-a-new-custom-phone-provider-action-for-passwordless">
  ### Create a new custom-phone-provider Action for Passwordless
</div>

The Unified Phone Experience does not use the [custom SMS gateway](/docs/fr-CA/fr-ca/authenticate/passwordless/authentication-methods/use-sms-gateway-passwordless) you configured for Passwordless SMS. You can use the <Tooltip href="/docs/fr-CA/fr-ca/glossary?term=auth0-dashboard" tip="Auth0 Dashboard
Principal produit d’Auth0 pour configurer vos services." cta="Voir le glossaire">Auth0 Dashboard</Tooltip> or <Tooltip href="/docs/fr-CA/fr-ca/glossary?term=management-api" tip="Management API
Un produit permettant aux clients d’effectuer des tâches administratives." cta="Voir le glossaire">Management API</Tooltip> to configure a custom phone provider with Auth0 Actions. To learn more, read [Configure a Custom Phone Provider](/docs/fr-CA/fr-ca/customize/phone-messages/configure-phone-messaging-providers/configure-a-custom-phone-provider).

<div id="configure-passwordless-custom-phone-provider">
  ##### Configure Passwordless custom-phone-provider
</div>

To configure your Custom SMS Gateway phone configuration via phone provider Action:

1. Navigate to [**Branding > Phone Provider**](https://manage.auth0.com/#/phone/templates/phone/provider).
2. Select your provider:

   1. Choose **Custom**.
   2. Under **Provider Configuration**, add your new `custom-phone-provider` Actions that forwards the Passwordless notification to a custom SMS gateway.
3. **Save** your changes.
4. Select **Send Test Message** to test the tenant-level provider before using it in a production environment.
5. Navigate to [**Authentication > Passwordless > SMS**](https://manage.auth0.com/#/connections/passwordless) to enable the **Use Tenant-level Messaging Provider**.
6. **Save** your changes.

<div id="custom-sms-gateway-to-custom-phone-provider-example">
  ##### Custom SMS gateway to custom-phone-provider example
</div>

```javascript lines theme={null}
const request = require('<favorite_http_client>');
/**
* Handler to be executed while sending a phone notification
* 
@param
 {Event} event - Details about the user and the context in which they are logging in.
* 
@param
 {CustomPhoneProviderAPI} api - Methods and utilities to help change the behavior of sending a phone notification.
*/
exports.onExecuteCustomPhoneProvider = async (event, api) => {
  const notificationType = event.notification.message_type;
  switch (notificationType) {
    case '<otp_verify>': {
      const req = {
        url: event.secrets.GATEWAY_URL,
        method: 'POST',
        headers: {
          'User-Agent': 'Auth0'
        },
        body: {
          recipient: event.notification.recipient,
          body: event.notification.as_text, // or event.notification.as_voice
          sender: event.notification.from, // TODO: sender is missed we need to check if we want to add it.
          req: event.request || {}, // if not enabled, it will come as undefined
        }
      }
      const response = await request(req);
      console.log(response.statusCode);
      return
    }
    default: {
      // handle other notifications as usual
      return;
    }
  }
};
```

<div id="update-delivery-methods">
  ### Update delivery methods
</div>

<table class="table">
  <thead>
    <tr>
      <th><b>Phone factors</b></th>
      <th><b>Current tenant-level delivery method</b></th>
      <th><b>Desired tenant-level delivery method</b></th>
      <th><b>User action</b></th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>SMS</td>
      <td>SMS</td>
      <td>SMS + Voice</td>
      <td>None</td>
    </tr>

    <tr>
      <td>SMS</td>
      <td>SMS</td>
      <td>Voice</td>
      <td>User must update Passwordless phone factors to be a subset of the delivery methods enabled for the tenant-level provider</td>
    </tr>

    <tr>
      <td>SMS</td>
      <td>SMS + Voice</td>
      <td>Voice</td>
      <td>User must update Passwordless phone factors to be a subset of the delivery methods enabled for the tenant-level provider</td>
    </tr>

    <tr>
      <td>SMS</td>
      <td>SMS + Voice</td>
      <td>SMS</td>
      <td>None</td>
    </tr>
  </tbody>
</table>

<div id="disable-phone-provider">
  ## Disable phone provider
</div>

If you configure the Unified Phone Experience and then disable it, existing integrations with your phone provider, including Passwordless, could break.

<Frame>
  <img src="https://mintcdn.com/generaltranslationinc/ILd3jqbLP7deb70c/docs/images/fr-ca/cdy7uua7fh8z/3qqa2QWXRNKZV96AQq6O0G/28cdff44a9532f5c005a5e1acb763ab8/2025-02-24_14-58-47.png?fit=max&auto=format&n=ILd3jqbLP7deb70c&q=85&s=560a436ac99a6c026715e3d0401cd22d" alt="" width="400" height="227" data-path="docs/images/fr-ca/cdy7uua7fh8z/3qqa2QWXRNKZV96AQq6O0G/28cdff44a9532f5c005a5e1acb763ab8/2025-02-24_14-58-47.png" />
</Frame>
