Simple two factor authentication in Django with SMS verification code | basic 2fa using Twilio

Published: 19 January 2021
on channel: Pyplane
49,492
935

Basic two factor authentication (2fa) in Django with Twilio

In this tutorial we are going to build a simple two factor authentication system in a Django project with SMS using Twilio. In order to implement this functionality we will use among others:
➜ django signals
➜ custom user class with a phone number field
➜ sending SMS with Twilio
Please check the links above where these topics are covered in greater details

🔥 MY BEST DJANGO COURSE with discount % (Django & Tailwind CSS Udemy course) :
https://www.udemy.com/course/django-w...

🔥 Join the facebook group:
  / djangoninjas   🚀

🔥 Follow pyplane on:
➜ instagram:   / pyplane_code  
➜ pinterest:   / pyplane  
➜ facebook:   / pyplane  

🔥 More on python and django:
➜ https://blog.pyplane.com

Links:
➜ Extend the User model with AbstractUser class:
➜ Django signals:    • Django signals for beginners | How to...  
➜ Django SMS:    • How to send / receive SMS in a Django...  
➜ Article: https://www.csoonline.com/article/323...

#Django #2fa #twilio

two factor authentication django, 2fa django, django twilio sms, two factor auth django, 2fa example, extend user model django, django signals, django signals post_save, django signals post_save example, django tutorial 2021, two-factor authentication (2fa), sms api python, sms verification code, twilio sms, twilio sms tutorial python, twilio sms python, django signals tutorial, abstract user django, abstract user model django, abstract user, Abstractuser class django