I am writing a back-end in Django for the mobile application that I am creating. I need to authenticate the user when I first open the mobile application via SMS to make sure that he is a real person. What should happen is this: the user enters the phone number in the application, then the server sends an SMS message to the user with the authentication code, then the user enters the authentication code in the application, and the server verifies that the code they entered in the application is the same, which they received via SMS.
I need to use Twilio with my Django project. I just need to know what would be the best way to do this? The outside of this (mobile application) is not what I'm asking for, I'm asking about the code that needs to be implemented on the internal server. I'm struggling to find up-to-date documentation for django-twilio integration that can do this.
source share