While we highly encourage you to use two-factor authentication, not all 2FA is equal. 2FA that uses SMS is certainly better than no protection, but it doesn’t offer the most protection. Instead, you should use an authentication app, such as the one built-into iOS 15.
Usually, you need to download an authenticator in order to use this type of 2FA. These apps, like Google Authenticator or Authy, generate a code for you to use with your connected accounts. Apple built the functionality of an authenticator into iOS 15, so you don’t need to download another app onto your iPhone.
To find this feature, open Settings > Passwords, then authenticate yourself with Face ID, Touch ID, or your passcode. Now, choose a connected account you’d like to set up an authenticator for, then tap “Set Up Verification Code.” You’ll need to follow the 2FA instructions on the account itself as well, then see if they ask for a setup key or a QR code. Tap the appropriate option on your iPhone, then follow the on-screen instructions to finalize the setup.
With everything connected, you can simply return to this page whenever the account requests a 2FA code.