Some websites and apps offer two-factor authentication (also known as multifactor authentication), which helps prevent other people from accessing your accounts even if they know your passwords. Passwords are the first authentication factor, and temporary, one-time verification codes are commonly a second factor. iPad can automatically generate these verification codes without your reliance on SMS messages or additional apps.
If you have another device with a screen, like a computer or iPhone, you can use it to display a QR code from a website or app, then use the iPad camera to scan the code.
On your other device, sign in to the area of the website or app where you manage your account, then select options to enable two-factor authentication and an authenticator app.
A QR code appears to help you set up an authenticator app.
On iPad, use the camera to Automatically fill in strong passwords on iPad