SAML connection creation and testing - auth0 as SP

Hi Auth0 community,

I’m building a workflow that needs to programmatically validate a connection’s configuration before actually creating it. In the Auth0 dashboard, there’s a “Test Connection” button that lets you verify things are working — but I haven’t been able to find an equivalent endpoint in the Management API.

What I’m trying to do: Before calling POST /connections, I want to validate that the connection attributes and required fields meet the expected schema, and ideally verify the connection is reachable — similar to what the dashboard’s test button does under the hood.

My questions:

  1. Is there a dedicated Management API endpoint (e.g. something like POST /connections/{id}/test) that replicates the dashboard’s “Test Connection” behavior?

  2. If not, what is the recommended approach for programmatic pre-flight validation of a connection before creation?

  3. Does the dashboard’s test button use the same Management API internally, or is it backed by a separate internal service not exposed publicly?

What i have did so far:

  • used authorize call with the connection name → not effective, cannot track all the error message.
  • The ACS url and entity ID was created from a local service and tried to proxy auth0 but getting issue on discovery endpoint mismatch. or signature failure. not working as expected.