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

  Рет қаралды 49,803

Pyplane

Pyplane

Күн бұрын

Пікірлер: 92
@Pyplane
@Pyplane 3 жыл бұрын
Hi Guys, as mentioned in the video I'll publish this week the final part of the amazon price tracker project and the 3rd part of the django social network project v2.0. To be honest the main cause of the delay is that I got verrrry busy playing Cyberpunk 😜 Sorry to all the people waiting for those videos - they will come out this week! 💪 Cheers! ✌
@smilenaija7951
@smilenaija7951 3 жыл бұрын
Pls can you do a video on how to create a cryptocurrency in Python and in blockchain
@smilenaija7951
@smilenaija7951 3 жыл бұрын
WhatsApp : 08181610775
@MukeshKumar-mx9hb
@MukeshKumar-mx9hb 3 жыл бұрын
It is perhaps the best KZbin channel on Django...i loved every content delivered by you man...You are amazing
@Pyplane
@Pyplane 3 жыл бұрын
Mukesh Kumar thank you ! :))
@numeerqadri3951
@numeerqadri3951 Жыл бұрын
please share source code
@mohitrathore8808
@mohitrathore8808 3 жыл бұрын
Literally Today I was willing to send OTP using Django but didn't get anything and Then here you came as Life Saver 😍😍
@numeerqadri3951
@numeerqadri3951 Жыл бұрын
please share source code
@zakirhossen4246
@zakirhossen4246 3 жыл бұрын
Your video is very practical and informative. Please, share a video or give suggestions related to repeatable group fields in Django Models.
@numeerqadri3951
@numeerqadri3951 Жыл бұрын
please share source code
@shashankpandey1966
@shashankpandey1966 3 жыл бұрын
just found your channel..u r great..to the point content. ..great work dude...
@Pyplane
@Pyplane 3 жыл бұрын
thank you Shashank! I'm pleased that you enjoy my content :) Cheers
@shashankpandey1966
@shashankpandey1966 3 жыл бұрын
@@Pyplane cheers 🍻
@numeerqadri3951
@numeerqadri3951 Жыл бұрын
please share source code
@tudorcozma6781
@tudorcozma6781 3 жыл бұрын
Thank you for the lesson it is a very good informative one. I will use on my website. Can you, please, make a short video, the code to be sent to users email do not use the Twilio
@numeerqadri3951
@numeerqadri3951 Жыл бұрын
please share source code
@AkshayKaushik
@AkshayKaushik 3 жыл бұрын
LUKE brother, Can you explain the use of "through" function of objects in any upcoming video? I am unable to understand the use of it.
@numeerqadri3951
@numeerqadri3951 Жыл бұрын
please share source code
@bellosegun
@bellosegun 3 жыл бұрын
Thanks for this great video, i noticed most django tutorial/app uses username and password to login and user can use a single email to register multiple account, can you do a tutorial on achieving login using 'unique' email and password as opposed the username and password. thanks a lot for all your wonderful tutorials
@yarmik3d
@yarmik3d 3 жыл бұрын
Да все просто, добавляешь в свою модель AbstractUser параметр USERNAME_FIELD = 'email' и все готово.
@abdulkabir_02
@abdulkabir_02 2 жыл бұрын
@@yarmik3d спасибо за помочь.
@RahulGupta-pw5ei
@RahulGupta-pw5ei 2 жыл бұрын
Hi Bello Oluwasegun please share link video for above your solution ( can you do a tutorial on achieving login using 'unique' email and password as opposed the username and password. thanks a lot for all your wonderful tutorials)
@numeerqadri3951
@numeerqadri3951 Жыл бұрын
please share source code
@mattfreire
@mattfreire 3 жыл бұрын
Awesome tutorial 👍
@Pyplane
@Pyplane 3 жыл бұрын
Thank you Matthew!
@numeerqadri3951
@numeerqadri3951 Жыл бұрын
please share source code
@TarunKumar-ds7ti
@TarunKumar-ds7ti 3 жыл бұрын
Thanks your video really help me alot becouse your way of coding is really match with mine there is so many video on KZbin but the did not coding straight forward... Please make more video on forget password in Django
@numeerqadri3951
@numeerqadri3951 Жыл бұрын
please share source code
@abrarahmed7549
@abrarahmed7549 3 жыл бұрын
Hi there , Can you please make tutorial for how we can add file from our drop box or Google drive instead of our own system in file input at from end. I hope you got it what I'm saying.
@IbrahimKMambo
@IbrahimKMambo 3 жыл бұрын
I suppose we could also generate the code and embed it with the user's session instead of saving it in the database. I wonder, which method is more secured between the two?
@dhruvilshah9098
@dhruvilshah9098 3 жыл бұрын
Awesome content sir!
@Pyplane
@Pyplane 3 жыл бұрын
Thank you Dhruvil!
@rangabharath4253
@rangabharath4253 3 жыл бұрын
Awesome as always 👍😀
@Pyplane
@Pyplane 3 жыл бұрын
Thank you Ranga:))
@numeerqadri3951
@numeerqadri3951 Жыл бұрын
please share source code
@oleksandrdiadiushenko4971
@oleksandrdiadiushenko4971 2 жыл бұрын
Thank you very much! Nice and easy solution
@Pyplane
@Pyplane 2 жыл бұрын
Thanks for watching!
@numeerqadri3951
@numeerqadri3951 Жыл бұрын
please share source code
@discoveryunit7753
@discoveryunit7753 2 жыл бұрын
Great Tutorial video! I followed through but I can't get the SMS from twilio on my phone. I can see the code on my terminal but I don't receive the SMS on my phone. Please what could be the problem?
@showclip6784
@showclip6784 2 жыл бұрын
Hello, I'm just thinking that is it necessary to save the OTP in a model. Can't we just use Twilio's Verify API. Can you please help me with implementing verify API.
@user-pg9lb9cw5x
@user-pg9lb9cw5x 2 жыл бұрын
Where can I download the same template from base.html?
@danieladediran5848
@danieladediran5848 3 жыл бұрын
Thank you for this channel 👍🏾
@numeerqadri3951
@numeerqadri3951 Жыл бұрын
please share source code
@3shooki
@3shooki 3 жыл бұрын
Having a lot of issues implementing this code into my project. First of all the code that is generated never generates a new code when login and logout. Also, when verifying code the code does not print into the terminal. Even looking into the admin for the code and trying that code for the user it does nothing whether correct or incorrect. I followed the redirecting as told and does not seem to work. Any help?
@osmanhamashool6396
@osmanhamashool6396 3 жыл бұрын
I didn't get how the new code generates every time you logged in, the signals were called when the user created. I'm a little confused.
@PP-tc1zp
@PP-tc1zp 3 жыл бұрын
Thank you for smart code
@SuperRevolver22
@SuperRevolver22 2 жыл бұрын
Great tutorial! Please how can I implement this on the admin site?
@prakashsaravanan6613
@prakashsaravanan6613 3 жыл бұрын
Excellent tutorial, thanks sir for ur valuable service
@Pyplane
@Pyplane 3 жыл бұрын
Thanks for watching!
@numeerqadri3951
@numeerqadri3951 Жыл бұрын
please share source code
@CodeWithTomi
@CodeWithTomi 3 жыл бұрын
Nice video 👍
@numeerqadri3951
@numeerqadri3951 Жыл бұрын
please share source code
@brahimboughanem208
@brahimboughanem208 3 жыл бұрын
thank you every day you help me 😍😍
@numeerqadri3951
@numeerqadri3951 Жыл бұрын
please share source code
@knightmare-gi4cg
@knightmare-gi4cg 3 жыл бұрын
I've followed the tutorial and when I want to connnect after log out I've the error : AttributeError et /login/ 'WSGIRequest'object has no attibute 'sessions'
@Modelio
@Modelio 3 жыл бұрын
Thank you!!
@sarathkumar-gq8be
@sarathkumar-gq8be 3 жыл бұрын
Your are using twilio library, is that payed one or free
@КсюСеменюта
@КсюСеменюта 2 жыл бұрын
what to do if instead of "username: 57643" the terminal displays "username: Object (1)"? please tell me
@rezvanibeastx3452
@rezvanibeastx3452 3 жыл бұрын
Awesome
@opcon3155
@opcon3155 3 жыл бұрын
Why not use random library and set as default code when created?
@subhajitpaul8377
@subhajitpaul8377 Жыл бұрын
Your code is full of bug
@fratdevrimcavit3645
@fratdevrimcavit3645 3 жыл бұрын
code=user.code AttributeError: 'CustomUser' object has no attribute 'code' hi bro. i wrote ur note. but can u show codes how did u do that? in CustomUser i should put to code.
@explore-with-nayem
@explore-with-nayem 3 жыл бұрын
same problem. how did u solve it brother?
@user-rn6zc7vp3h
@user-rn6zc7vp3h 2 жыл бұрын
found solution??
@RahulGupta-pw5ei
@RahulGupta-pw5ei 2 жыл бұрын
sir i understand but appconfig i got type error what will i do
@fabianugo8275
@fabianugo8275 3 жыл бұрын
Oh! Oh! Having followed the tutorial, in the admin panel, my digits code is not generating
@Pyplane
@Pyplane 3 жыл бұрын
so probably you made a mistake while overriding the save method. Pls check
@fabianugo8275
@fabianugo8275 3 жыл бұрын
@@Pyplane let me try again. Thank you for responding
@sadeghkrmi
@sadeghkrmi 3 жыл бұрын
@pypane, thanks for sharing I guess there is an error @30:00 minute where you assign code = user.code in user model (CustomUser), there is no code field. Can you explain it?
@3shooki
@3shooki 3 жыл бұрын
did you ever figure this out?
@ngotuanhien
@ngotuanhien 2 жыл бұрын
I found that the above code is incorrect because you cannot compare a user class with a string of code. It is just a property of code class. So the line 39 should be : if str(code.number) == num:
@wanlyvolcy4390
@wanlyvolcy4390 Жыл бұрын
@@ngotuanhien user for me custom user for him
@muhammadmiraj1203
@muhammadmiraj1203 3 жыл бұрын
make more video like this
@ramjikasaudhan8341
@ramjikasaudhan8341 3 жыл бұрын
getting error -- django.template.exceptions.TemplateDoesNotExist: boostrap4/uni_form.html
@explore-with-nayem
@explore-with-nayem 3 жыл бұрын
29:50 code=user.code AttributeError: 'CustomUser' object has no attribute 'code' hi bro. i wrote ur note. but can u show codes how did u do that? in CustomUser i should put to code.
@varshasingh6627
@varshasingh6627 3 жыл бұрын
How maximum length of phone number will be 12 including + in it. It should be 13
@Pyplane
@Pyplane 3 жыл бұрын
9 digits of phone number plus 3 of internal num
@yassermer3163
@yassermer3163 3 жыл бұрын
How can we use it just in sign up
@blossomacademy7709
@blossomacademy7709 3 жыл бұрын
Hey! bro you are great but please provide source code in your every video!!
@numeerqadri3951
@numeerqadri3951 Жыл бұрын
please share source code
@felicytatomaszewska
@felicytatomaszewska Жыл бұрын
It is just providing twilio your phone number. that\s it
@01sleghana16
@01sleghana16 3 жыл бұрын
some parts of the code are not visible, can you pls attach the source code for this?
@Pyplane
@Pyplane 3 жыл бұрын
Thank you for the feedback. I’ll try to upload the code this week on the blog. Cheers
@halha5678
@halha5678 3 жыл бұрын
Can you give the source code
@simonasimone3390
@simonasimone3390 Жыл бұрын
Спасибище!
@erf601
@erf601 3 жыл бұрын
NO do not enable this feature 2 factor authentication you will lose access to your accounts if you lose access to your original phone numbners do not use
@aayush3990
@aayush3990 2 жыл бұрын
Please give source code!
@denispashnev912
@denispashnev912 3 жыл бұрын
code = str(random.randint(10000, 99999))
@aashayamballi
@aashayamballi 3 жыл бұрын
Thank you!!
@Pyplane
@Pyplane 3 жыл бұрын
thanks for watching Aashay :)
Towards Django Two Factor Authentication Integration
46:23
Very Academy
Рет қаралды 26 М.
Elza love to eat chiken🍗⚡ #dog #pets
00:17
ElzaDog
Рет қаралды 10 МЛН
How is this Website so fast!?
13:39
Wes Bos
Рет қаралды 623 М.
Add MFA to your Django admin page
16:33
Cloud With Django
Рет қаралды 8 М.
Login and Logout - Django Wednesdays ECommerce 7
20:33
Codemy.com
Рет қаралды 15 М.
Django Login Form and User Authentication
17:01
Dave Gray
Рет қаралды 15 М.
Build a Two-Factor Authentication System with React in 90 Minutes
1:31:33
Two-Factor Authentication (2FA) in Python
12:20
NeuralNine
Рет қаралды 48 М.
Setup email authentication in Django
22:01
Cloud With Django
Рет қаралды 18 М.
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
OktaDev
Рет қаралды 1,7 МЛН
Django Tutorial - User Registration with Email Confirmation #15
21:28
Python Lessons
Рет қаралды 41 М.