2FA Totp

Hello, i wanna add 2fa TOTP to credentials login. How can i generate a QR code for user to scan ?
image.png
Solution
That's out of Better-Auth's scope at what we provide. You should find a library that does this
Was this page helpful?