A fast order notification is useful only if the seller can safely reach the order behind it. For a property-management marketplace, resolve that trade-off by keeping notification delivery separate from authentication: an SMS delivery receipt must never authorize access to a new order. TL;DR: build the custom Node.js service around a short-lived, purpose-bound OTP challenge, generate its code with cryptographic randomness, send it through an external SMS API, and validate and consume it atomically before creating a session. Treat delayed delivery as a recovery problem with an explicit state transition.
The concrete flow is a marketplace seller receiving a new order for a property maintenance job. The notification points to the marketplace; the seller signs in before viewing tenant contact details or entering the property workflow. This note concentrates on challenge state and authorization boundaries.…