If you are doing online or banking transactions on a laptop, it means that you have to carry your phone with you to enter the OTP received. This need/need may change in the coming weeks or even days — at least for Android phone users. Google is working on Google WebOTP API.
Google is working on WebOTP API. It will give websites the ability to programmatically receive one-time passwords from SMS messages and automatically fill out forms for users with just one tap without switching apps.
Understand in simple words how the whole work will be done
- Simply put, Google is working on a feature to enable SMS One Time Password (OTP) transfer from phone to PC with Chrome 93 update. Chrome 93 will support Chrome WebOTP (Web One Time Password) interface, which means that the web browser will automatically detect, read and enter the code on the user’s phone.
- The only condition is that users will need an Android phone, and both the handset and the desktop browser will need to be signed into the same Google account. Another important requirement is that the website they are using supports Google Chrome WebOTP technology. The reason is that this feature is currently dependent on the Chromium web engine, so it is not supported in Apple devices.
Android phone users can already try this feature on Chrome beta page (https://developer.chrome.com/blog/cross-device-webotp/) .
What will be needed for this
- A desktop or laptop computer (Windows, Mac, Linux or Chrome OS).
- An Android phone with Google Play service version 20.30.12 or latest.
- Chrome 93 or latest, on both desktop or laptop and mobile. Chrome 93 beta is available until the end of July 2021.
- You’ll need to sign in to the same Google Account on both desktop Chrome and mobile Chrome. For example, via https://myaccount.google.com/ or https://mail.google.com. There is no need to turn on sync.
- On your Android device, you’ll find “Settings-Sign-in to Android via Google”.
- Chrome 93 should be the default browser on Android devices.
- Chrome 93 must be running in the foreground or background on an Android device.
Follow these steps to proceed:
1. On desktop, go to https://web-otp-demo.glitch.me/. Click on the Verify button.
2. Send the exact text message on the screen from another phone to the Android device.
3. When SMS is delivered on an Android device, a dialog appears asking if you want to verify the phone number on the desktop. Press submit to approve.
4. On the desktop, the verification code sent to the Android device will automatically be entered in the input field.