Normal 2fa authentication flow when enabling the service is to have a website where you enable the 2fa, get a QR code and scan it with your totp app (Authy or Google Authenticator).
However how should we proceed if we don't have a second screen to scan the QR code from - for example a mobile app that is standalone but still requires 2fa for some actions. Is there a way to automatically register a new 2fa account, without having to manually copy paste the 2fa secret into the totp app.