Login security · 2026
One login-code service for all our apps, sent on WhatsApp
When we built Osana's online store, its customers needed to log in with a code on their phone. Instead of paying an SMS vendor and writing the same code logic into every app, we built one small service: the app asks for a code, the person gets it on WhatsApp, the app checks it. Osana's shop, Osana's admin and our SEO tool use it today.
SMS code vendors charge for every message, and our users already live on WhatsApp. And if every app writes its own code logic, every app has to get expiry, limits and safe storage right on its own. Doing it once, in one place, is cheaper and safer.
An app sends the phone number together with its own key. The service makes a 6-digit code, keeps only a scrambled copy of it, and sends the code on WhatsApp. The person types it in, and the app asks the service to check it. A code stops working after 5 minutes or 5 wrong tries.
One number can get at most 3 codes in 10 minutes, and one network at most 20. Every send and every check is logged. Each app has its own key, so one app cannot send codes in another app's name.
Its first job was the Osana store's customer login. Osana's admin and our SEO tool came next. Adding a new app takes one new key and a few lines of code.
Codes go by WhatsApp only. Email sending is built but not switched on yet.
If our WhatsApp line is down, codes do not arrive, so apps that use it also need a second way in. Osana's admin offers passkey sign-in for that.
/ CASE STUDIES
JRV Docs: quotations, invoices and guides that stay tidy at any length
→02Getting a haulage book e-invoice ready — before writing a line of submission code
→03Billing off the claim sheet the office already used
→04Two builds for one client: a site that reads like a precision operator, and the ledger behind the consultancy
→05A site that reads like a precision operator, for cargo that cannot afford to look casual
→