Urgent.News

What's breaking now, across thousands of outlets.

Tech

SMS OTP Versus Email OTP for Site Access (With a Fallback Boundary)

The page says that a supervisor cannot open the construction-site access portal. The SMS code never arrived, the login screen offered email, and the second code is now late too. On-call can see two requests but cannot tell, from a pushed event, which delivery failed first. TL;DR: Use SMS OTP as the primary built-in verification path for a US/EU SaaS login. Treat email OTP as a custom fallback,…

The page indicates that a supervisor lacks the ability to access the construction-site portal. An SMS code failed to arrive, and the login screen offered email as a secondary option, which also resulted in a delayed code. On-call personnel can view two requests but are unable to determine which delivery failed first from the pushed event.

In summary, the recommendation is to use SMS OTP as the primary built-in verification method for a US/EU SaaS login. Email OTP should be treated as a custom fallback option with its own code generation, storage, expiry, verification, and templates. This approach is considered the least complex solution due to the dedicated OTP and verify operations available in the SMS channel, while email lacks a managed OTP API.

The fallback state machine should be designed for idempotency, with both channels being rate-limited and delivery events being polled. Neither channel should be treated as a second factor when both routes ultimately depend on the same compromised account or device. The recommendation is an operational one rather than an ideological stance.

Email can be useful when a worker has poor mobile reception but functioning Wi-Fi, while SMS can be helpful when the worker cannot access an inbox from a shared or locked-down device. Neither channel eliminates the need for recovery policies, abuse controls, or an audit trail. The page is the final signal in the authentication process.

To properly assess the situation, a more detailed analysis of the authentication state machine should be conducted, counting each transition in the process. The events related to email and SMS should be monitored, even though they are pull-based and lack webhook events. The poller is an integral part of the login reliability path, and its performance should be tracked with its own alert.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Zero-capital automation: running a business from Termux

Zero-Capital Automation: Running a Business from Termux Okay, let’s be real. Everyone dreams of starting a business. The hurdles? Capital, time, and frankly, knowing where to start .

  • Termux, a terminal emulator for Android, enables zero-capital business automation
  • Business automates price monitoring and alerts via scripts in Bash, Python, Node.js
  • Cron scheduler runs automation every 15 minutes from Termux on affordable Android device

TrailBuddy Local: Local-first outdoor companion for the Touch Grass challenge

Why I built TrailBuddy Local Modern apps optimize for attention, but I wanted an outdoor companion that helps people step away from glowing screens instead of pulling them back in.

  • TrailBuddy Local is a Streamlit app for personalized outdoor missions.
  • It runs locally on user's device, prioritizing privacy and security.
  • Open-source project aims to encourage time in nature, reduce screen time.

Streaks lie. A photo of the minute doesn't.

You have kept a streak before. Somewhere around day nine you started logging the habit after the fact — the tap standing in for the thing itself — and by day twenty the only part still alive was the…

  • One Minute Magic tracks habits in three 60-second tasks
  • Photograph serves as evidence of completed tasks
  • App emphasizes simplicity and transparency

More from Sunday 11 October →