Towards Django Two Factor Authentication Integration

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ม.ค. 2025

ความคิดเห็น • 48

  • @Giovanni-p7j
    @Giovanni-p7j ปีที่แล้ว +1

    Very good tutorial. Clear and complete. Simple solution. Thank you.

  • @trosgate
    @trosgate 3 ปีที่แล้ว +1

    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.

  • @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).

  • @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?

  • @ByronJuarez
    @ByronJuarez 2 ปีที่แล้ว +1

    thank you for your help, the tutorial is great

    • @veryacademy
      @veryacademy  2 ปีที่แล้ว

      Glad it was helpful!

  • @ngotuanhien
    @ngotuanhien 3 ปีที่แล้ว +1

    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.

  • @CoentraDZ
    @CoentraDZ 3 ปีที่แล้ว +3

    You are wonderful, keep going 💪

  • @ruelagnes9607
    @ruelagnes9607 3 ปีที่แล้ว

    amazing man, youre the one , youre the man,thank you man

  • @JoseZambrana-o3l
    @JoseZambrana-o3l 4 หลายเดือนก่อน

    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?

  • @CoCo-yz6jh
    @CoCo-yz6jh 3 ปีที่แล้ว +2

    Very nice! Thank you so much 😊

    • @veryacademy
      @veryacademy  3 ปีที่แล้ว +1

      You're welcome 😊

    • @CoCo-yz6jh
      @CoCo-yz6jh 3 ปีที่แล้ว +1

      Sir I need to know few things about Django! Can you please help me with that? Thanks in advance 😊

    • @veryacademy
      @veryacademy  3 ปีที่แล้ว +1

      @@CoCo-yz6jh Hmmm, what few things would you like to know!

    • @CoCo-yz6jh
      @CoCo-yz6jh 3 ปีที่แล้ว

      Is there any way to chat with you?

  • @SonySupporter
    @SonySupporter 3 ปีที่แล้ว +1

    Amazing as always! Can you make a video about simple-jwt and 2fa implementation?

  • @mohamedjasim3916
    @mohamedjasim3916 3 ปีที่แล้ว +2

    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/

  • @ammarjamil2467
    @ammarjamil2467 3 ปีที่แล้ว +1

    Hey Bro your video is very helpful kindly make one video on push notification in django using firebase

    • @veryacademy
      @veryacademy  3 ปีที่แล้ว +2

      Django Firebase - not too far away! Noted though and is on my todo list.

  • @BobBeaucage
    @BobBeaucage 3 ปีที่แล้ว +1

    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.

  • @FarhanAhmed1360
    @FarhanAhmed1360 3 ปีที่แล้ว

    Great tutorial

  • @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.

  • @lantossar8946
    @lantossar8946 3 ปีที่แล้ว +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 ปีที่แล้ว +2

      Have a look at the documentation - I didn't show using mobile etc because it involves other 3rd part services.

  • @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?

  • @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!

  • @yeboahdominic1896
    @yeboahdominic1896 2 ปีที่แล้ว

    Nice, how can we integrate it with django rest framework

  • @ritvikdayal3735
    @ritvikdayal3735 3 ปีที่แล้ว +2

    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.

  • @iamrealnurs8368
    @iamrealnurs8368 3 ปีที่แล้ว

    Where can I get your app in the beginning?

  • @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)

  • @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

  • @nikhilbhardwaj6055
    @nikhilbhardwaj6055 2 ปีที่แล้ว

    How can we implement it with django-rest-framework?

  • @miguelcorreia3458
    @miguelcorreia3458 3 ปีที่แล้ว +1

    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 9 หลายเดือนก่อน

      Have you found out now ?😢

  • @rec-trick
    @rec-trick 3 หลายเดือนก่อน

    how to use with rest api ?

  • @hassanshanun1067
    @hassanshanun1067 2 ปีที่แล้ว +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

  • @devnextbd
    @devnextbd 3 ปีที่แล้ว

    *Amazin tutorial. *

  • @azoskaisaac6756
    @azoskaisaac6756 2 ปีที่แล้ว

    I keep getting this error "'GeneratorMethod' object has no attribute 'get_verbose_action'" and help

    • @abukarabdullahi4196
      @abukarabdullahi4196 2 ปีที่แล้ว

      I have the same problem. Do you have any solution?

    • @azoskaisaac6756
      @azoskaisaac6756 2 ปีที่แล้ว

      @abukarabdullahi4196 comment that section out of the html code. It's in the original package but modified in this tutorial.