2 ms·
I simply refuse to do 2FA with phone number. I change phone providers and phone number more often than email provider. I generally don't trust my phone provider
by jillesvangurp 7y ago
I simply refuse to do 2FA with phone number. I change phone providers and phone number more often than email provider. I generally don't trust my phone provider to act responsibly and fully expect to get ripped off by them and their customer support to do all the wrong things.
I implemented 2FA server and frontend support at some point and it's stupidly easy to do. It's arguably a lot easier to do than building SMS based 2FA because you don't need the integration with SMS. All you do is show a QR code, store the shared secret, and then run a simple algorithm to verify the current code and timestamp line up with what the user typed when they login. The algorithm for generating codes compatible with Google Authenticator, Authy, etc. is available in OSS form for several languages. Same for QR code generation. The rest is bog standard UX work and a bit of DB plumbing.