Creating a Vault Connection and Receiving the Error "A connection error has occurred"

Overview

When creating a Vault connection to the Auth0 application by providing the tenant domain, client ID, and client secret and copying these values from the application, the following error occurs. This article clarifies why this may happen and provides a solution to overcome the error.

Cause

This error can occur when using incorrect credentials from a machine-to-machine application.

Solution

To resolve this, create a Machine-to-Machine application with the correct scopes and copy the credentials to the vault connection.

This link provides step-by-step guide as well: Use Cases: Configure a progressive profile form using Forms.