Tech
Expiry Windows: Node.js Email Status, SMS Escalation, and Event Traces
TL;DR: For Node.js event notifications, send transactional email first, poll its delivery status, and use SMS fallback only while the password-reset token remains useful. The deciding constraint is the expiry clock: a late fallback can create noise without helping a locked-out customer.
For a customer-support system, this is a reliability problem with a security boundary. The useful outcome is not βan API accepted a request.β It is a reset message that is observable, bounded by its expiry, an...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to