Help users with OTPs received through SMS
These days, most people in the world own a mobile device and developers are commonly using phone numbers as an identifier for users of their services.
There are a variety of ways to verify phone numbers, but a randomly generated one-time password (OTP) sent by SMS is one of the most common. Sending this code back to the developer’s server demonstrates control of the phone number.
s idea is already deployed in many scenarios to achieve:
The current process creates friction for users. Finding an OTP within an SMS message, then copying and pasting it to the form is cumbersome, lowering conversion rates in critical user journeys. Easing this has been a long standing request for the web from many of the largest global developers. Android has an API that does exactly this. So does iOS and Safari.
The Web OTP API lets your app receive specially-formatted messages bound to your app’s origin. From this, you can programmatically obtain an OTP from an SMS message and verify a phone number for the user more easily.
The table below explains the current status of the Web OTP API.
1. Create explainerComplet
2. Create initial draft of specificationComplete
3. Gather feedback and iterate on designComplete
4. Origin trialComplete
5. LaunchChrome 84
Early versions of this API were called SMS Receiver. If you are famillar with that version of the API be aware of the changes made to it. Improvements from SMS Receiver API include:
#api #capabilities #identity #web otp api