Custom Phone Provider Configuration in Directory Mode

Overview

When using the Deploy CLI, users are able to specify phoneProvider configuration details for tenants. This article explains how to add this configuration file to an existing deploy CLI structure using Directory Mode.

Applies To

  • Deploy CLI
  • Directory Mode
  • PhoneProviers

Cause

The Auth0 Deploy CLI documentation outlines the JSON structure for the phoneProvider configuration details, however, it is not clear how to add this file to the CLI directory.

Solution

Ensure the following criteria are met to add the phoneProvider configuration details:

  1. Configure the JSON file in the “./phoneProvider” directory and ensure the JSON format follows the documentation example outlined in the Auth0 Deploy CLI PhoneProviders documentation.
  2. Update Deploy CLI to version 8.8.3.
  3. Ensure the required “phone-providers” client scope has been added.