Apple Engineers Propose Standardized Format for SMS One-Time Passcodes - MacRumors
Skip to Content

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

iphone duo screen crack in store

Crackgate? iPhone Duo Owners Report Screens Breaking Along the Hinge

Friday October 23, 2026 11:05 am PDT by
Some iPhone Duos are already experiencing hinge issues that cause display cracks, based on photos shared on Reddit and the MacRumors forums. Almost all of the display faults are right along the hinge, and most result in a line of bright pixels across one side of the screen. An iPhone Duo owner in Australia said his device cracked after being opened fewer than 20 times, and there was no...
Apple Creator Studio iWork suite

Apple Pulls Keynote, Pages and Numbers From App Store [Update: Back]

Thursday October 22, 2026 11:01 am PDT by
Apple has temporarily removed Keynote, Pages, and Numbers from the App Store, just after releasing an update that added iPhone Duo support and a new Intelligent Assistant. It is not clear if the apps were removed intentionally, or if it is a bug. Apple has not said when the apps will be reinstated, but if it was in error, they should return soon. Update: The Mac versions are back without...
Apple Music iPod Page Not Found

Apple Music Has a Hidden iPod You Can Play With

Friday October 23, 2026 7:11 am PDT by
Apple Music has a 404 page easter egg on the web: a functional iPod that appears when you load a page that does not exist, such as music.apple.com/macrumors. "Page Not Found," says Apple. "Give this a spin instead." Apple is clever with this. If you navigate to music.apple.com/ipod instead, the page says "Looking for something?" instead of "Page Not Found." The easter egg is only...

Top Rated Comments

fjfjfjfj Avatar
88 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
88 months ago
now work on auto deleting those messages after 10 minutes.
They pile up.
Score: 21 Votes (Like | Disagree)
araadt Avatar
88 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
88 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
88 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
88 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)
Latest Stories
Apple Wants to Fix Safari's Cramped Layout on iPhone Duo
Apple Wants to Fix Safari's Cramped Layout on iPhone Duo
20 minutes ago
Instagram Launches Apple TV App With Reels and More
Instagram Launches Apple TV App With Reels and More
51 minutes ago
Apple's 'Servant' Copyright Lawsuit Win Upheld on Appeal
Apple's 'Servant' Copyright Lawsuit Win Upheld on Appeal
1 hour ago
'Arguably Better Than Face ID': the iPhone Duo Touch ID Tip to Try
'Arguably Better Than Face ID': the iPhone Duo Touch ID Tip to Try
5 hours ago
Verizon Apologizes for iPhone Duo Pre-Order Delays, Giving Customers $100 Gift Card
Verizon Apologizes for iPhone Duo Pre-Order Delays, Giving Customers $100 Gift Card
11 hours ago
Skip the Touch ID Scan: Unlock iPhone Duo With Apple Watch
Skip the Touch ID Scan: Unlock iPhone Duo With Apple Watch
11 hours ago
iPhone Duo Fails JerryRigEverything's Dusty Durability Test
iPhone Duo Fails JerryRigEverything's Dusty Durability Test
11 hours ago
Make iPhone Duo Volume Buttons Follow Screen Rotation
Make iPhone Duo Volume Buttons Follow Screen Rotation
13 hours ago
iPhone Duo Teardowns Reveal Two Batteries and More
iPhone Duo Teardowns Reveal Two Batteries and More
14 hours ago
M5 MacBook Air Returns to Prime Day Low With $200 Amazon Discount
M5 MacBook Air Returns to Prime Day Low With $200 Amazon Discount
15 hours ago
Top Stories: Apple 'Pro and Tell' Debut, iPhone Duo Launch, and More
Top Stories: Apple 'Pro and Tell' Debut, iPhone Duo Launch, and More
16 hours ago
Apple Store Pickup System for iPhone Duo Just Went Live Again in U.S. and Canada
Apple Store Pickup System for iPhone Duo Just Went Live Again in U.S. and Canada
17 hours ago
Apple Closes French Stores Ahead of Further Protests
Apple Closes French Stores Ahead of Further Protests
1 day ago
Apple Pushes Back on DOJ Request for More Evidence
Apple Pushes Back on DOJ Request for More Evidence
1 day ago
The iPhone Duo Can Be a Tiny Mac, a Toaster, and a Nintendo DS
The iPhone Duo Can Be a Tiny Mac, a Toaster, and a Nintendo DS
1 day ago
Using an Apple Pencil With the iPhone Duo: What to Know
Using an Apple Pencil With the iPhone Duo: What to Know
1 day ago
Apple Store Pickup for iPhone Duo Starting to Resume But Very Limited
Apple Store Pickup for iPhone Duo Starting to Resume But Very Limited
1 day ago
iPhone Duo Jailbroken on Launch Day
iPhone Duo Jailbroken on Launch Day
1 day ago
Apple Seeds Updated watchOS 27.2 Release Candidate
Apple Seeds Updated watchOS 27.2 Release Candidate
1 day ago
Apple Store in UK Reopens With New Design on iPhone Duo Launch Day
Apple Store in UK Reopens With New Design on iPhone Duo Launch Day
1 day ago
Crackgate? iPhone Duo Owners Report Screens Breaking Along the Hinge
Crackgate? iPhone Duo Owners Report Screens Breaking Along the Hinge
1 day ago
iPhone Duo Brings Back Long Lines at Apple Stores
iPhone Duo Brings Back Long Lines at Apple Stores
1 day ago
The MacRumors Show: iPhone Duo Arrives, Touchscreen MacBooks Next
The MacRumors Show: iPhone Duo Arrives, Touchscreen MacBooks Next
2 days ago
Apple Released iOS 27.1 for iPhone Duo Only
Apple Released iOS 27.1 for iPhone Duo Only
2 days ago
iPhone Duo: Open Two Apps Side by Side and Lock Them As an App Pair
iPhone Duo: Open Two Apps Side by Side and Lock Them As an App Pair
2 days ago
iPhone Duo Launches With Carrier and Accessory Discounts Available
iPhone Duo Launches With Carrier and Accessory Discounts Available
2 days ago
Apple Music Has a Hidden iPod You Can Play With
Apple Music Has a Hidden iPod You Can Play With
2 days ago
iPhone Duo Says 'Hello' to You Personally
iPhone Duo Says 'Hello' to You Personally
2 days ago
iPhone Duo: How to Skip the Swipe Up After Touch ID
iPhone Duo: How to Skip the Swipe Up After Touch ID
2 days ago
Where to Buy iPhone Duo Today: Stores, Pickup, and Wait Times
Where to Buy iPhone Duo Today: Stores, Pickup, and Wait Times
2 days ago