We have two SMS gateways and would like to use them for two different Auth0 apps/clients.
To achieve this, we created via Auth0 management API two passwordless SMS connections, each pointing to its own gateway. Next, for each connection we added a corresponding client to its
enabled_clients list. In https://manage.auth0.com/dashboard everything looks good. Each client has its own SMS connection enabled. The client which uses the SMS connection that was created first, works fine. But when we try to signup via the second client, Auth0 reports the following error to its logs:
Type: Failed Signup
Description: connection is disabled (client_id: xxxxxx - connection: sms)
“sms” is the name of the first connection, which is indeed disabled for the second client.
The questions are:
Why does Auth0 try to use the connection that is disabled for the client, instead of the one that is actually enabled?
Does it rely on specific connection name (i.e. “sms”)?
Is it possible to get multiple passwordless SMS connections working under one Auth0 account/tenant?