Python Authentication: Create a Secure Login System with Flask and SQL Alchemy

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 พ.ย. 2024

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

  • @codewithjoshoffical
    @codewithjoshoffical  6 หลายเดือนก่อน +6

    👉 Join my Python Newsletter Today! ~ thenerdnook.substack.com
    Note ~ Hey there Python crew, excited to have you guys back! This is made to give you guys a breakdown into Secure Authentication with Flask using a Database to store and register users giving them a unique dashboard experience within your applications! Now that you guys have an understanding to authentication I'd love to create a video around OAuth, this will give you the ability to login using platforms like Google, FB, GitHub, etc...
    Anyways drop a comment and let me know your thoughts, I love hearing from you guys!
    Hope you have an amazing weekend, stay safe 😎
    ~ Josh

  • @SimianVirus
    @SimianVirus 3 หลายเดือนก่อน +3

    I saw many flask authentication tutorial and this is really the best

    • @codewithjoshoffical
      @codewithjoshoffical  3 หลายเดือนก่อน

      Thank you so much! I’m glad it was helpful 😁

    • @nikolatesla30
      @nikolatesla30 3 หลายเดือนก่อน +1

      I agree👍

  • @codewithgedo3067
    @codewithgedo3067 4 หลายเดือนก่อน +2

    I have wated millions of tuts. i did not understand flask like i did right now, 1 hour and 6 minutes and 41 seconds no skip any.

    • @codewithjoshoffical
      @codewithjoshoffical  4 หลายเดือนก่อน

      Great to hear! Hopefully now with mine you’ll be watching less of others 😄

  • @kadirv
    @kadirv 29 วันที่ผ่านมา +1

    Comprehensive and detailed explanation. Thank you! very engaging tutorial!

  • @kadirkoc1759
    @kadirkoc1759 3 หลายเดือนก่อน +1

    Bro thank you for this video. It's amazing. I started to work in a company and need to implement Oauth2.0 with python from strach and as you guess ı am 0 in python :))

    • @codewithjoshoffical
      @codewithjoshoffical  3 หลายเดือนก่อน

      Glad it’s helping you out some! I know how challenging it can be at first, check out my other video with I implement OAuth into this for Google authentication

  • @MuhdKazhim
    @MuhdKazhim 24 วันที่ผ่านมา +1

    Very good, reading thru the SqlAlchemy docs give me pain

    • @codewithjoshoffical
      @codewithjoshoffical  24 วันที่ผ่านมา

      Reading through most docs turn my hair gray 😆

  • @johnmarklecias938
    @johnmarklecias938 2 หลายเดือนก่อน

    Love this! I hope you do a follow up video on this project but with Flask-migrate!

  • @chhiaylinleng9289
    @chhiaylinleng9289 17 วันที่ผ่านมา +1

    Thank for sharing this tutorial

  • @Akshaykumarrao-j9t
    @Akshaykumarrao-j9t 6 หลายเดือนก่อน +1

    Hey Josh, I am very happy that you made a video that helpful as recently started learning flask and Django in you tube very limited videos are there on flask framework I think this will be helpful

    • @codewithjoshoffical
      @codewithjoshoffical  6 หลายเดือนก่อน +1

      I’m happy to hear that! I’ll continue to put together a mini series around Flask before expanding onto Django

  • @azolamlotywa929
    @azolamlotywa929 2 หลายเดือนก่อน +1

    thank you bro i really appreciate this a lot it immensely means a lot. What a great tutorial !. God bless you bro. I wish you all the best in life.

    • @codewithjoshoffical
      @codewithjoshoffical  2 หลายเดือนก่อน

      Thank you for your kind words 🙏🏼. I’m glad you got value!

  • @ultimatesound8515
    @ultimatesound8515 6 หลายเดือนก่อน +1

    Looking forward to google authentication next

  • @lucietee2296
    @lucietee2296 6 หลายเดือนก่อน +1

    Exactly what I was looking for. thanks

  • @MmMk-kt6xh
    @MmMk-kt6xh หลายเดือนก่อน

    I need to ask can I modify this method to encrypt sessions and manage public keys??

  • @diplomat1837
    @diplomat1837 6 หลายเดือนก่อน +1

    ‘Tis awesome. Thank you. Is it possible to connect Stripe connect to it?

    • @codewithjoshoffical
      @codewithjoshoffical  6 หลายเดือนก่อน

      You sure can! That would be a fun one to put together 😁. Is that something you’d want to see?

    • @diplomat1837
      @diplomat1837 5 หลายเดือนก่อน

      @@codewithjoshoffical yes please.

  • @studentanonim2783
    @studentanonim2783 หลายเดือนก่อน +1

    Can i clarify that templates directory is just a folder? or what kind of magic folder is this where the html files can become jinja2

    • @codewithjoshoffical
      @codewithjoshoffical  หลายเดือนก่อน

      Yes, the templates directory is just a folder but it’s important you name it “templates” as flask specifically looks for this folder when it’s constructing the app

  • @splendjet7792
    @splendjet7792 5 วันที่ผ่านมา +1

    Super!

  • @fabriziocau4085
    @fabriziocau4085 6 หลายเดือนก่อน +1

    Great video, thanks :)

    • @codewithjoshoffical
      @codewithjoshoffical  6 หลายเดือนก่อน

      Thank you! Let me know if there’s anything you’d like to see done

    • @fabriziocau4085
      @fabriziocau4085 6 หลายเดือนก่อน

      @@codewithjoshoffical I have been working myself on a Flask blog application and I'd appreciate if you could, for example, tackle topics such as pagination or pool/voting functions :)

  • @ani-sugoi
    @ani-sugoi 6 หลายเดือนก่อน +2

    Can you make the app based on Llama 3 python and Postgre SQL

    • @codewithjoshoffical
      @codewithjoshoffical  6 หลายเดือนก่อน +2

      Great recommendation. Definitely I can start looking into 👀

    • @diplomat1837
      @diplomat1837 6 หลายเดือนก่อน

      I will love this too. I’ve been trying to do something similar. To read data with tesseract and analyse them.

  • @nestboxcam-Surabaya
    @nestboxcam-Surabaya 3 หลายเดือนก่อน +1

    Can you make a connection to mysql instead sqlite?

    • @codewithjoshoffical
      @codewithjoshoffical  3 หลายเดือนก่อน

      Yup absolutely! You’ll just need to install the driver, change the connection in the setup and make sure you update your configuration.
      But you should be good to go ahead and do that

  • @nikolatesla30
    @nikolatesla30 3 หลายเดือนก่อน

    Many many thanks🎉

    • @codewithjoshoffical
      @codewithjoshoffical  3 หลายเดือนก่อน +1

      Absolutely 💯. I’m glad you got value!

  • @davisgamer2301
    @davisgamer2301 2 หลายเดือนก่อน

    Bro which theem you use?

  • @LarrzoneSolutions
    @LarrzoneSolutions หลายเดือนก่อน

    the code in your github repo is different

  • @rudyitiel6529
    @rudyitiel6529 หลายเดือนก่อน

    Great video but after correcting the password_hash in the main.py I now have an operation error and I don't know how to solve it

    • @codewithjoshoffical
      @codewithjoshoffical  หลายเดือนก่อน

      If your database was already created then you should delete the instance folder and your database and try to run it again

    • @lifewithfletcher23490
      @lifewithfletcher23490 หลายเดือนก่อน

      U actually reply with solutions
      Guess I didn't subscribe to the wrong guy ​@@codewithjoshoffical

  • @studentanonim2783
    @studentanonim2783 หลายเดือนก่อน

    Im having an error where i cannot execute jinja2 code in my html file, in terms of virtual environment i did everything like in the video so i think that its not from that and in the requirements.txt i have that "Jinja2==3.1.4"

    • @codewithjoshoffical
      @codewithjoshoffical  หลายเดือนก่อน

      Could be with how everything is set up, tough to say without seeing the code.
      You could maybe post the error here or some of the code.

    • @studentanonim2783
      @studentanonim2783 หลายเดือนก่อน

      @@codewithjoshoffical I got stuck in 10th minute, where my html file couldn't execute a jinja code, I can write the jinja code but my html code is not becoming without color like in the video and jinja with color. So that i can notice that my html file stays html when im trying to write jinja2 code