You can use Touch ID to complete two-step authentication on a Touch ID-capable device, such as a 2017 or newer MacBook Pro or a 2018 or newer MacBook Air.
Follow the steps below to set up Touch ID for two-step authentication on a specific device. You'll still be able to sign in on other devices using SMS, an authentication app, or a hardware security key.
At your next sign-in, you’ll be prompted to use Touch ID for two-step authentication. If don't want to use Touch ID, use your hardware security key or cancel the prompt to authenticate with SMS or your authenticator app instead.