This snippet will show you how to implement basic two factor authentication via an text message.
87
Your file should look something like this
## This is the full name of your SignalWire Space. e.g.: example.signalwire.com
SIGNALWIRE_SPACE=
# Your Project ID - you can find it on the `API` page in your Dashboard.
SIGNALWIRE_PROJECT=
# Your API token - you can generate one on the `API` page in your Dashboard
SIGNALWIRE_TOKEN=
# The phone number you'll be using for this Snippets. Must include the `+1` , e$
SIGNALWIRE_NUMBER=
Lets get started!
For Python:
docker pull signalwire/snippets-text-two-factor-auth:python
(or build your own image)
docker build -t snippets-text-two-factor-auth .
docker run --publish 5000:5000 --env-file .env snippets-text-two-factor-auth
Content type
Image
Digest
Size
344.1 MB
Last updated
over 6 years ago
docker pull signalwire/snippets-text-two-factor-auth:python