logoalt Hacker News

throw03172019yesterday at 4:53 PM3 repliesview on HN

The 2FA via email case is great. I recently had to build a browser automation workflow that required 2FA. I ended up using Zapier to monitor email inbox and then extract the code and send back to our API. It was a bit slow.


Replies

ckenstyesterday at 5:59 PM

Why didn't you just use something like Mailinator? They specialize in this exact thing. Gives you an API to grab links and everything. That's what I use.

Haakam21yesterday at 4:58 PM

Yup plus webhooks are overkill for this. Need to set up a public HTTP server and pass messages to your agents. With websockets you can open connection right from your agent and close it in seconds once the 2FA code is delivered.

trollbridgeyesterday at 6:55 PM

... you had to use Zapier to extract an email from an inbox?

show 1 reply