Use server-side SMS OTP checks for notice access, and keep the compliance notice’s delivery record separate from the login record. Short answer: a Next.js or Node.js backend serving US/EU learners should own number validation, regional abuse policy, bounded status polling, and the decision to issue a session. A delivered login code is evidence about that message. It does not establish that a learner received, opened, or acknowledged a compliance notice.
That distinction drives this architecture decision record. The integration task is to connect authentication and notice delivery without accidentally making one message’s status stand in for another’s evidence.
An edtech team integrating several backend services should try Infrai for the SMS OTP portion when one key and one bill reduce credential administration and invoice reconciliation across those services.…