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

Apple Responds to iPhone Duo Display Cracking Reports

Monday October 26, 2026 10:20 am PDT by
Shortly after the iPhone Duo launched, a few users reported hinge issues that were causing cracks in the inner display. Apple has now responded to the reports in a statement to MacRumors, saying a small number of units are affected. The response to iPhone Duo from early users has been incredibly positive, and we are seeing exciting things from developers who are rapidly updating their apps...
iPad mini OLED feature 1

Apple Announces New iPad Mini With 8.5-Inch OLED Display, A20 Pro Chip, and More

Monday October 26, 2026 6:05 am PDT by
Apple today announced a new iPad mini with a larger 8.5-inch OLED display, a nano-texture display option, a thinner and lighter design, an A20 Pro chip, a new Acoustic Display audio system that eliminates speaker holes, IP67-rated water and dust resistance, a landscape front camera, Apple's N1 chip with Wi-Fi 7 and Bluetooth 6 support, and more. Altogether, Apple says this amounts to the iPad...
Apple MacBook Pro 14 in with M6 hero

Apple Announces New 14-Inch MacBook Pro With M6 Chip

Tuesday October 27, 2026 6:01 am PDT by
Apple today announced a refreshed 14-inch MacBook Pro featuring the M6 chip, upgraded connectivity specifications, and more. The M6 chip in the MacBook Pro features a 12-core CPU with 2 super cores, 4 performance cores, and 6 efficiency cores, paired with a 12-core GPU. This is up from the M5 chip with a 10-core CPU with 4 super cores and 6 efficiency cores, paired with a 10-core GPU. M6...

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
Best Buy Opens Pre-Orders for PROLED XDR MacBook Pro With $100 Bonus Gift Cards
Best Buy Opens Pre-Orders for PROLED XDR MacBook Pro With $100 Bonus Gift Cards
7 hours ago
Here's Everything Apple Announced This Week
Here's Everything Apple Announced This Week
7 hours ago
Here's a Real-World Look at the New MacBook Pro's Glowing Apple Logo
Here's a Real-World Look at the New MacBook Pro's Glowing Apple Logo
7 hours ago
How Accurate Were Rumors About Apple's OLED Touchscreen MacBook Pro?
How Accurate Were Rumors About Apple's OLED Touchscreen MacBook Pro?
8 hours ago
Apple Has 8 New Products Available for Pre-Order
Apple Has 8 New Products Available for Pre-Order
9 hours ago
iPhone Duo: Turn the Hinge Into an App Launcher
iPhone Duo: Turn the Hinge Into an App Launcher
9 hours ago
OLED MacBook Pro vs. Mini-LED MacBook Pro: Size and Weight Compared
OLED MacBook Pro vs. Mini-LED MacBook Pro: Size and Weight Compared
10 hours ago
Best Buy Offering Up to $100 Gift Cards With iPad Mini 8 and M6 MacBook Pro Pre-Orders
Best Buy Offering Up to $100 Gift Cards With iPad Mini 8 and M6 MacBook Pro Pre-Orders
11 hours ago
Adding Touch Didn't Cost the MacBook Pro Any Battery Life
Adding Touch Didn't Cost the MacBook Pro Any Battery Life
11 hours ago
Apple Releases Redesigned Mac Chargers and 'World Travel Adapter Kit'
Apple Releases Redesigned Mac Chargers and 'World Travel Adapter Kit'
11 hours ago
Apple Executives Explain Why the MacBook Pro Finally Has a Touch Screen
Apple Executives Explain Why the MacBook Pro Finally Has a Touch Screen
11 hours ago
New MacBook Pro Features Deeper Bass and Improved Closed-Lid Audio
New MacBook Pro Features Deeper Bass and Improved Closed-Lid Audio
12 hours ago
New MacBook Pro Offers Up to 16TB of Storage, Double Previous Limit
New MacBook Pro Offers Up to 16TB of Storage, Double Previous Limit
12 hours ago
Apple's New Touchscreen MacBook Pro Costs Up to $14,549
Apple's New Touchscreen MacBook Pro Costs Up to $14,549
12 hours ago
Apple Brings Dynamic Island to Mac for the First Time
Apple Brings Dynamic Island to Mac for the First Time
12 hours ago
Mac Studio With M5 Ultra Now Available With 512GB RAM for $22,299
Mac Studio With M5 Ultra Now Available With 512GB RAM for $22,299
12 hours ago
Illuminated Apple Logo Returns to MacBook Pro After 10 Years
Illuminated Apple Logo Returns to MacBook Pro After 10 Years
13 hours ago
Apple Announces OLED MacBook Pro With Touch Display
Apple Announces OLED MacBook Pro With Touch Display
13 hours ago
Apple Store Down Ahead of 'Pro and Tell' Launch Today
Apple Store Down Ahead of 'Pro and Tell' Launch Today
13 hours ago
South Korea Rules Against Apple Over App Store Payment Rules
South Korea Rules Against Apple Over App Store Payment Rules
14 hours ago
iOS 27.2 Adds Selfie-Based Age Verification
iOS 27.2 Adds Selfie-Based Age Verification
15 hours ago
Beats 360 Get First Price Drop Alongside Return of Record Low for AirPods 4
Beats 360 Get First Price Drop Alongside Return of Record Low for AirPods 4
16 hours ago
Apple Raises MacBook Neo's Starting Price to $649 on Education Store
Apple Raises MacBook Neo's Starting Price to $649 on Education Store
16 hours ago
MacBook Studio?
MacBook Studio?
16 hours ago
Apple CEO John Ternus Teases Touchscreen MacBook Pro: 12 Final Rumors
Apple CEO John Ternus Teases Touchscreen MacBook Pro: 12 Final Rumors
17 hours ago
Touchscreen MacBook Pro's New Hinge Linked to iPhone Duo 2
Touchscreen MacBook Pro's New Hinge Linked to iPhone Duo 2
18 hours ago
macOS 27 Assets Hint at Dynamic Island for MacBook Pro
macOS 27 Assets Hint at Dynamic Island for MacBook Pro
18 hours ago
Touchscreen MacBook Pro to Debut Today With These 5 Features
Touchscreen MacBook Pro to Debut Today With These 5 Features
20 hours ago
Apple to Open Pre-Orders for Five New Products Today
Apple to Open Pre-Orders for Five New Products Today
20 hours ago
MacPaw Launches 'Eney' AI Assistant for Mac and iPhone
MacPaw Launches 'Eney' AI Assistant for Mac and iPhone
23 hours ago