How to enable auto-complete SMS verification code in Android
Starting with Android 9, you can make two-factor authentication even easier.
If you use two - factor authentication (2FA) (which is essential these days), you should be using it with one of the many 2FA applications on the market, such as Authy or Google Authenticator. Unfortunately, not all services work with 2FA certification application (shame on you, services).
While the app accepts 2FA much more securely than that SMS flavor, at this point it is inevitable that you will end up getting some of these 2FA codes sent to you via text. When that happens, you need to retrieve these codes from the SMS message and type or copy / paste the numbers into the service making the request.
Alternatively, you could make use of a feature, introduced in Android 9, called SMS Verification Code Autofill. To enable Autofill SMS Verification Code, you must first enable Autofill.
SEE: Security Tips for Android (download TechRepublic)
How to enable auto-fill in Android
- Open your Settings app and find Autofill.
- In the Autofill service window, tap to enable the service you want to use for Autofill.
- Go back to Settings and then navigate to Google | Automated authentication code.
- Tap on the On / Off slider until it is in the On position.
- Once this is enabled, any app that supports the auto-fill option will include an Autofill button in the SMS notification.
All you have to do is tap that button and the six-digit code automatically enters the app, so you can log in via 2FA. This is not a perfect scenario, and not many apps use the feature, but once services and applications are up and running, it makes it very easy to use 2FA.
I would not be ignorant, however, if I did not remind you that using 2FA with a verification app is the safest route. So if you have the choice, always use the app over SMS verification codes.