Securing your Python Django App with One Time Passwords | How to set OTP in Django

preview_player
Показать описание
Tutorial on how to secure your Python Django App with One Time Passwords (OTP) using Pyotp

Learn how to secure your Django application with One-Time Passwords (OTP) with Pyotp and add an extra layer of security to your authentication system. In this video, we'll show you how to generate OTPs, store them in the user's session, and verify them before allowing access to the protected resources. You'll learn how to integrate the pyOTP library and build a simple OTP-based authentication system in Django

🔥 FREE Python Object Oriented Programming (OOP) pdf:

🔥 Join the Facebook group:

🔥 Follow pyplane on:

#pythondjango #djangotutorial #djangoproject

django otp, django otp based authentication, django otp verification, django security, django one time password, django tutorial python, django authentication, django authentication tutorial, django tutorial 2023, django otp project, pyotp django, pyotp one time password, web development, django development, django development tutorial, python otp verification, python pyotp example, pyotp web app, django project 2023, pyplane django, pyplane code
Рекомендации по теме
Комментарии
Автор

Just at the right time! Great and simple explanations. Thank you.

tatemo_labs
Автор

Hello, thanks for sharing your knowledge. I would like to set a one-time password that is sent via email, but require the user to set a new password on first login. Can you help me please?.

JuanitoOrtega
Автор

Thank you. Very clear as usual. Very useful library. I was wondering how otp works. The library makes it really simple to implement. I was always wondering how complex it will be to protect the otp view. Smooth 👋

Omar
Автор

So, as mentioned in the video description, the secret_key and valid_time are stored in user session, so where does this session is stored exactly in the project or browser?
i need clarification with this

avjavj
Автор

hello teacher, I have project where each user has his own actions, one template can have access from 3 different users or lets say profile, what is the best way (best practice) to manage this ?
what I have think of is make 3 models user, group(profile) and action
if user has specific action in the template I show the button associated to be accessible
what do you think ?

younesabdenaceraitemrar
Автор

We have OTP on the cookies? HOLY SHIT DUDE :D

ozgundenizkucuk
Автор

Hej Łukasz, myslalem o tym zeby uzyc w swoim projekcie django otp, ale zastanawia mnie czy to faktycznie dziala w przypadku korzystania jeszcze z simpleJWT i djosera ? Jednoczesnie gdzies tam po drodze chcialem zrobic rejestracje uzytkownia i logowanie via google acc. Bede wdzieczny za wszelkie wskazowki i czy da sie to jakos zaimplementowac. Nie jestem na poczatku swojej drogi ale troche nie wiem do konca jak moglbym do tego podejsc. Swietny filmik !

liltrw
Автор

can anyone just share the source code it will be very helpful i am a beginner in djngo and got stucked here

prashantgupta
Автор

how to make the otp sent to phone number by sms ?

israasalameh
Автор

Please can you share the source code with us?

michaelsolomon
Автор

I tried around 10 times, but didn't work for me
can you please assist me
I need your contact

hasibullahwardak