Apple Engineers Propose Standardized Format for SMS One-Time Passcodes

Apple WebKit engineers have put forward a proposal to make one-time passcode SMS messages more secure by developing a standardized format for the two-step verification process, reports ZDNet.

one time passcode sms black background
Two-step verification logins require a user's password and another element that only the user would know – in this case, a one-time code sent via text message – to gain access to an online account.

As it stands, these SMS messages can arrive in a variety of formats, making it difficult or impossible for apps and websites to detect them and automatically extract their information.

Apple's proposal has two goals. The first is to introduce a way that one-time passcode SMS messages can be associated with the website, by adding the login URL inside the message itself.

The second goal is to standardize the format of the SMS messages, so that browsers and other apps can identify the incoming message, recognize the URL, and then extract the OTP code for automatic insertion into the appropriate login field on the website.

The idea behind automating OTP entry is that it eliminates the risk of users falling for a scam and entering an OTP code on a phishing site with a different URL.

Apple developers provided the following example of the new format SMS message for OTP codes:

747723 is your WEBSITE authentication code.
@website.com #747723

The first line is intended for the user, enabling them to determine the website that the SMS OTP code came from, while the second line is processed by browsers and apps so that they can automatically extract the OTP code and complete the 2FA login operation.

If auto-complete fails, users will be able to check the URL of the website that sent the text against the site they're trying to log in to.

According to the report, Google Chrome engineers are already on board with Apple's proposal, but Mozilla's Firefox team have yet to provide official feedback on the standard.

The new proposals would add another layer of security to Apple's existing security code autofill feature, introduced in iOS 12, that can detect one-time passcodes in Messages and display them conveniently above the user's keyboard.

Popular Stories

General Apps Messages Redux

iOS 26: New Messages and Phone App Features Leaked Ahead of WWDC

Friday June 6, 2025 7:27 am PDT by
Apple is planning to announce several new features for the Messages and Phone apps on iOS 26, according to Bloomberg's Mark Gurman. In a lengthy report outlining his WWDC 2025 expectations today, Gurman said that the two main changes in the Messages app will be the ability to create polls, as well as the option to set a background image within a conversation. 9to5Mac was first to report...
iPhone 17 Air Size Feature

'iPhone 17 Air' Launching Later This Year With These 17 New Features

Friday June 6, 2025 6:17 am PDT by
While the so-called "iPhone 17 Air" is not expected to launch until September, there are already plenty of rumors about the ultra-thin device. Overall, the iPhone 17 Air sounds like a mixed bag. While the device is expected to have an impressively thin and light design, rumors indicate it will have some compromises compared to iPhone 17 Pro models, including worse battery life, only a single ...
carplay hero dashboard

iOS 26 to Upgrade CarPlay in Two Ways

Wednesday June 4, 2025 6:24 am PDT by
While the spotlight has been on CarPlay Ultra lately, the regular version of CarPlay is set to receive some enhancements alongside iOS 26. Apple will announce iOS 26 at WWDC 2025 next week, and the software update is expected to upgrade the CarPlay experience in at least two ways. The first iOS 26 beta should be seeded to developers shortly after Apple's keynote, and the update will...
Apple Activity Rings Graphic

Apple Watch Gets One Crucial Fitness Metric Wrong, Researchers Say

Thursday June 5, 2025 7:35 am PDT by
The Apple Watch provides highly accurate measurements of heart rate and step count, but their estimates of calories burned can be significantly off, according to a new peer-reviewed meta-analysis conducted by researchers at the University of Mississippi (via CNET). The study reviewed 56 previously published studies evaluating the Apple Watch's performance against gold-standard clinical tools ...
General iOS Mail Feature

iPhone Users Say Mail App Suddenly Showing Blank Screen on iOS 18.5

Thursday June 5, 2025 7:02 am PDT by
If the Mail app on your iPhone is not working lately, you are not alone. A growing number of iPhone users are seeing a blank screen in the Mail app, according to comments posted across the MacRumors Forums, Reddit, Apple Support Community, and other online discussion platforms. Affected users are unable to view any emails in their inboxes, and the app can also become glitchy and...
iOS 26 white

iOS 26's Digital Glass Design: Home Screen Widgets, Camera, and More

Friday June 6, 2025 8:32 am PDT by
In a lengthy report outlining his WWDC 2025 expectations today, Bloomberg's Mark Gurman shared more details about iOS 26's rumored new design. According to Gurman, iOS 26 will feature a "digital glass" design inspired by visionOS, the operating system for Apple's Vision Pro headset. That is a well-known rumor by now, but he goes on to provide some more specific details, as listed below:There ...
macOS Tahoe Render

macOS Tahoe Might Support One Fewer Mac Than Previously Rumored

Saturday June 7, 2025 5:27 am PDT by
macOS 26 will drop support for several older Intel-based Mac models currently compatible with macOS Sequoia, according to a private account on X with a proven track record of leaking information about Apple's software platforms. macOS 26 will be compatible with the following Mac models, the account said:MacBook Air (M1 and later) MacBook Pro (2019 and later) iMac (2020 and later) Mac...
iOS 26 Mock Rainbow Feature

iOS 26: All the New Features We Expect

Tuesday June 3, 2025 4:49 pm PDT by
The 2025 Worldwide Developers Conference is coming up quick, with less than a week to go before the big keynote event. We're sharing a series of rumor recaps this week, for those who want to get a sneak peek at some of the features expected in Apple's upcoming software updates. iOS 26 is definitely the OS that we've heard the most about, and rumors suggest that it's going to get a major...

Top Rated Comments

fjfjfjfj Avatar
70 months ago
The way iOS captures the text code and fills it automatically is so convenient. It’s one of those little features that just makes things a bit easier and I smile every time it does it.
Score: 36 Votes (Like | Disagree)
adammusic Avatar
70 months ago
now work on auto deleting those messages after 10 minutes.
They pile up.
Score: 21 Votes (Like | Disagree)
araadt Avatar
70 months ago

Way to solve the problems of 10 years ago. Apple used to be more forward looking than this.
If the problems of ten years ago aren’t solved yet that makes them the problems of today.

I could likely get my mother to use 2FA by sms but I’d never be able to convince her of carrying around an Authenticator device or using a keygen app. If we have the opportunity, shouldn’t we refine all options?
Score: 12 Votes (Like | Disagree)
oneMadRssn Avatar
70 months ago
2FA using SMS is better than nothing, but is not very secure because of how SMSs can be intercepted.

If Apple is pushing for standards, why not standardize a proper 2FA protocol (e.g., OATH) and require all smartphones to have a standard compatible authenticator app built-in?

Indeed, I bet Apple could do it by themselves if they just bundle a 2FA app into iOS using a common open protocol. It's hard to get users to downloading Authy or similar app, but if its built-in it will take off. Service providers will be incentivized to adopt that protocol so their 2FA can be native in iOS, and the Androids will copy Apple as they always do.
Score: 5 Votes (Like | Disagree)
lobbyist Avatar
70 months ago
It’s a very Apple like proposal - it just works.


The way iOS captures the text code and fills it automatically is so convenient. It’s one of those little features that just makes things a bit easier and I smile every time it does it.
Score: 5 Votes (Like | Disagree)
baryon Avatar
70 months ago
Yes please! I hate it when making a payment, your bank sends the text but you can only copy the entire message as a whole so you have to remember it. And the code expires after a few seconds.

Actually, not being able to select and copy text from messages is extremely annoying, like when someone sends you someones phone number or email address but doesn't leave a space before and after it... The bane of my existence.
Score: 4 Votes (Like | Disagree)