How Do I Automate SMS-based 2 Factor Authentication Outside Safari

Safari has a great feature where it can autofill SMS-based 2 factor authentication codes. You know, the thing where you log into your bank (or PayPal), and they text you a 6 digit code which you have to enter in order to complete your login?

Developer Tyler Hall created a Keyboard Maestro macro to re-implement this feature so you can get similar functionality in any browser. It's complicated (capture the screen in notification center, rotate the image, crop it, OCR the result!), but it works well for me. Hopefully it's useful for someone else too. It's setup for Big Sur, so if you are on Catalina you'll have some adjustments to make.

Cheers,

K

2 Likes