We have implemented the passwordless login using custom UI on our app few months back. We followed the instruction shown here under ‘use your own UI’
But for the last few weeks whenever we try to login we face some error.
When we try to sign in, the passwordlessStart gets called properly. We receive the code from Twilio. We enter the code and proceed from the Front End App. Then passwordlessVerify get triggered as well. And in the browser we can see that the response has reached our callback url. But in the incoming hash, instead of receiving access_token or id_token, we receive an error object:
error: "invalid_request" errorDescription: "no connections enabled for the client" state: "c1B9PO0xc-yp-ODCPi22J.g4LdAkjMb3"
Investigating further in the Auth0 logs, we can see the incident was reported as:
Type: Failed Login Description: no connections enabled for the client Connection: sms
In the Auth0 application settings we have all the domain, login and callback url set properly.
Under connection we have only passwordless > sms with Twilio enabled.
The error message shown is kind of confusing as most of the connection related operation(reaching Twilio, get code, verify code etc) is happening properly in the first place. Then its saying connection is not enabled.
Any help/suggestion will be appreciated. Thanks!