Authentication Setup QR Code (TOTP)
<\/script>\n';
},
get iframeSnippet() {
const domain = 'qrcodefyi.com';
const type = 'entity';
const slug = 'authentication-totp-qr';
return '';
},
get activeSnippet() {
return this.method === 'script' ? this.scriptSnippet : this.iframeSnippet;
},
copySnippet() {
navigator.clipboard.writeText(this.activeSnippet).then(() => {
this.copied = true;
setTimeout(() => { this.copied = false; }, 2000);
});
}
}"
@keydown.escape.window="open = false"
@click.outside="open = false">
Generate a QR code for setting up time-based one-time password (TOTP) two-factor authentication. The QR code encodes an otpauth:// URI that authenticator apps scan to configure the secret key.