Towards Django Two Factor Authentication Integration

  Рет қаралды 26,698

Very Academy

Very Academy

Күн бұрын

Пікірлер: 48
@Giovanni-p7j
@Giovanni-p7j 11 ай бұрын
Very good tutorial. Clear and complete. Simple solution. Thank you.
@trosgate
@trosgate 3 жыл бұрын
I wonder how you manage to grasp all these. You are a wonderful teacher and i am glad t be your close follower, thumbs up
@veryacademy
@veryacademy 3 жыл бұрын
Thanks Trosgate. After time, everything looks the same, it just sinks in. It always feels overwhelming at the start, Python, Django, HTML, CSS, JS, more frameworks, front-end, back-end, deployment, Docker lol Where do you even start.
@JoseZambrana-o3l
@JoseZambrana-o3l 3 ай бұрын
Quick question, which library we have to use now for 2mfa? do we have to use the same o there is another one better currently?
@mohamedjasim3916
@mohamedjasim3916 3 жыл бұрын
Thank you a lot. but what about django-rest-framework API with JWT, what do you suggest.
@veryacademy
@veryacademy 3 жыл бұрын
You would be hard pushed to find a production ready answer for this question online. Security is more than just JWT for example. I would recommend looking at security in a broader context first. A bad example www.loginradius.com/blog/start-with-identity/login-security/
@ngotuanhien
@ngotuanhien 3 жыл бұрын
Thank you for your introduction to this Django Two Factor Authentication! It is a nice feature but your tutorial was messing up the package templates with your template. At first, removing the content_wrapper block inside two_factor/_base.html was unnecessary so you had to rename numbers of blocks after that. You should just use "{% extends "../base.html" %}" and everything would be fine. At second, for center alignment for the login block, the ... for wrapping all block content is enough.
@aKoRDioN
@aKoRDioN Жыл бұрын
Hello, thank you very much for your videos, I watched almost most of them and they were very useful. It's one of the few resources I recommend. I want to ask, can we use this system to access any page, not just to login?
@CoentraDZ
@CoentraDZ 3 жыл бұрын
You are wonderful, keep going 💪
@veryacademy
@veryacademy 3 жыл бұрын
Thank you so much!!
@yeboahdominic1896
@yeboahdominic1896 2 жыл бұрын
Nice, how can we integrate it with django rest framework
@ByronJuarez
@ByronJuarez 2 жыл бұрын
thank you for your help, the tutorial is great
@veryacademy
@veryacademy 2 жыл бұрын
Glad it was helpful!
@ammarjamil2467
@ammarjamil2467 3 жыл бұрын
Hey Bro your video is very helpful kindly make one video on push notification in django using firebase
@veryacademy
@veryacademy 3 жыл бұрын
Django Firebase - not too far away! Noted though and is on my todo list.
@lantossar8946
@lantossar8946 3 жыл бұрын
How can i implement this in a way that the user can register and login with only phone number and generated token(sms) Thanks for the video!
@veryacademy
@veryacademy 3 жыл бұрын
Have a look at the documentation - I didn't show using mobile etc because it involves other 3rd part services.
@SonySupporter
@SonySupporter 3 жыл бұрын
Amazing as always! Can you make a video about simple-jwt and 2fa implementation?
@BobBeaucage
@BobBeaucage 3 жыл бұрын
Thanks for this video, very informative. I have implemented this in my app. One issue I am having - I copied the two_factor templates to my templates folder, but the app is not picking those up. It still refers back to the html templates in the install folder where two_factor was installed (env/lib/site-packages/two_factor/...). How do I get it to find them in my templates folder? All other templates in the app are using the correct folder.
@CoCo-yz6jh
@CoCo-yz6jh 3 жыл бұрын
Very nice! Thank you so much 😊
@veryacademy
@veryacademy 3 жыл бұрын
You're welcome 😊
@CoCo-yz6jh
@CoCo-yz6jh 3 жыл бұрын
Sir I need to know few things about Django! Can you please help me with that? Thanks in advance 😊
@veryacademy
@veryacademy 3 жыл бұрын
@@CoCo-yz6jh Hmmm, what few things would you like to know!
@CoCo-yz6jh
@CoCo-yz6jh 3 жыл бұрын
Is there any way to chat with you?
@nietzschebietzsche
@nietzschebietzsche 2 жыл бұрын
Thanks for this video. Like Tuấn-Hiển Ngô, I did have problems trying to implement my customized templates the way you did. I ended up putting the content_wrapper back which made it easier. This video saved me a LOT of time implementing 2FA though. I particularly appreciate the custom template tag you made because I would have had no idea how to do that (I am not a fan of the wizard forms).
@iamrealnurs8368
@iamrealnurs8368 3 жыл бұрын
is there any previous videos?
@blackpetergriffin179
@blackpetergriffin179 3 жыл бұрын
IS THERE ANY POSSIBLITY YOU COULD ADD EMAIL VERFICATION TO THE GROUP AS WELL!
@SomeOne-lj7fl
@SomeOne-lj7fl 2 жыл бұрын
Please show us how to setup yubikeys with this package. The docs say to use validation services like YubiCloud but it is not clear how to do that.
@iamrealnurs8368
@iamrealnurs8368 3 жыл бұрын
Where can I get your app in the beginning?
@rec-trick
@rec-trick 2 ай бұрын
how to use with rest api ?
@ritvikdayal3735
@ritvikdayal3735 3 жыл бұрын
Thankyou for making it a piece of cake. I was trying this and wanted to create a policy for every registered user to enable 2FA on their first login can you please help. I looked into the documentation but did not found anything related.
@veryacademy
@veryacademy 3 жыл бұрын
Np, its easy once you know how
@ritvikdayal3735
@ritvikdayal3735 3 жыл бұрын
@@veryacademy Can you please point me to a direction as I am trying it now. I mean If there is some blog or documentation I can read.
@hassanshanun1067
@hassanshanun1067 2 жыл бұрын
I'm getting a templatetag not found error for the login page. TemplateSyntaxError at /account/login/ 'two_factor' is not a registered tag library. Any one know the solution to this?
@veryacademy
@veryacademy 2 жыл бұрын
Been a while, first check that the library is added in the settings.py file if needed, then check documents, two_factor tag might have changed with a new version since recording
@ruelagnes9607
@ruelagnes9607 3 жыл бұрын
amazing man, youre the one , youre the man,thank you man
@nikhilbhardwaj6055
@nikhilbhardwaj6055 2 жыл бұрын
How can we implement it with django-rest-framework?
@FarhanAhmed1360
@FarhanAhmed1360 3 жыл бұрын
Great tutorial
@KrishnaManohar8021
@KrishnaManohar8021 3 жыл бұрын
Excellent. How can we implement multi login system? Ex: we implement custom user model with jwt tokens. When staff login we show staff template, when admin login we show admin template, when others login we some some template like this how can we complete with this logic? (Please make tutorial custom user model with jwt tokens & frontend react JS)
@quitosoft
@quitosoft 2 жыл бұрын
Thanks for the video! I've seen it twice, also downloaded the repository but I can't get it to work. Files are missing or have bad references. I don't know, I'm very new to django yet to solve it. Has anyone managed to make it work? if yes.... can you share it?
@tahsincanulgen6359
@tahsincanulgen6359 3 жыл бұрын
Hey bro, thanks for this video. I get an error message in the qr code part: Entered token is not valid. I searched but couldn't find anything
@miguelcorreia3458
@miguelcorreia3458 3 жыл бұрын
How do I redirect an authenticated user when trying to access the login page? Tried redirect_authenticated_user but it did not work with two_factor, any suggestion? Thanks for the video, good content!
@CHIDUBEMENWELU
@CHIDUBEMENWELU 8 ай бұрын
Have you found out now ?😢
@azoskaisaac6756
@azoskaisaac6756 2 жыл бұрын
I keep getting this error "'GeneratorMethod' object has no attribute 'get_verbose_action'" and help
@abukarabdullahi4196
@abukarabdullahi4196 Жыл бұрын
I have the same problem. Do you have any solution?
@azoskaisaac6756
@azoskaisaac6756 Жыл бұрын
@abukarabdullahi4196 comment that section out of the html code. It's in the original package but modified in this tutorial.
@devnextbd
@devnextbd 3 жыл бұрын
*Amazin tutorial. *
@veryacademy
@veryacademy 3 жыл бұрын
👍
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
Add MFA to your Django admin page
16:33
Cloud With Django
Рет қаралды 8 М.
Django async HTTP requests with asyncio and aiohttp
20:32
Very Academy
Рет қаралды 23 М.
Django To Do List App With User Registration & Login
2:12:03
Dennis Ivy
Рет қаралды 343 М.
Two Factor Authentication with Django - Admin Demo
5:41
GoDjango
Рет қаралды 30 М.
Django tutorial: How to authenticate using Google
13:07
Matt Freire
Рет қаралды 102 М.
Generate diagrams from Django models
9:43
Very Academy
Рет қаралды 20 М.