This app will show you an example of how to build a time-based one-time passcode (TOTP) experience with fallback to SMS or WhatsApp using the Twilio Verify API.
This sample uses function templates to quickly create and deploy serverless functions you can use to interface with the Twilio Verify API from your production application.
How it works:
For more information, check out this overview of TOTP. For more best practices including retry logic and channel fallback, check out best practices for managing retry logic with SMS 2FA.