Dear Team,
I have been trying use 2Factor.in as SMS gateway for using passwordless authentication
my gateway URL is as below where mykey is actual value.
Thank you for posting your question. Unfortunately, it’s not possible to connect to the 2factor.in SMS gateway in a plug-and-play fashion. The custom SMS gateway is strict, and to connect it to service like mentioned 2factor.in you would need to add an additional proxy layer that would transfer the request to the expected by the SMS gateway provider form. While setting up the middle layer make sure to follow our guide → Set Up Custom SMS Gateway for Passwordless Connections and adjust the proxy accordingly to the request from Auth0.
Thank you Dawid.
We have followed the guide however the request that is being sent to gateway is not injecting the phone_number I have given the details above, it sends the word phone_number as it is.
Can you please help/guide here as what needs to be done?
As I mentioned in the previous post, the Custom SMS gateway response is very strict, and the placeholder in the URL cannot be updated. If you want to use 2Factor.io, your best bet is to create a proxy layer that would take the auth0 request, adjust it, and pass it to 2Factor.io.