Implement SMS-based OTP in Node.js using a third-party verification API after the storefront's password check, with a server-controlled template and destination suppression checked before every send. Template ownership decides who can change the message, who generates the code, and which evidence your team needs when a shopper cannot sign in.
TL;DR: In Node.js, keep third-party credentials on the server, bind each provider challenge to a pending login, and grant access only after successful verification and atomic challenge consumption. Track permanent destination failures separately from expired codes. An email bounce must never become an automatic block on that customer's phone number.
The useful operational question is specific: can support explain why a login text was attempted, which approved template produced it, and why another text was suppressed? Build that evidence into the flow.β¦