Too Long; Didn't Read
It’s easier than you might think to add two-factor authentication (2FA) to your applications. The secret is to use APIs provided by a cloud communications platform like Plivo.
Sometimes the best way to learn how to code something is by looking at an example, so we’ve created a sample application on GitHub.
To use it, you need a Plivo account; you can sign up for free and get enough free credits to lease a phone number with which to send or receive messages and build some starter applications.
If this is your first time using Plivo APIs, Plivo’s documentation provides instructions on how to set up a Python development environment, including installing the Plivo Python SDK, setting up a Flask server, and installing ngrok, which exposes local servers running behind NATs and firewalls to the public internet over secure tunnels.