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

Поделиться
HTML-код
  • Опубликовано: 26 ноя 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 4 месяца назад +3

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

  • @codewithgedo3067
    @codewithgedo3067 4 месяца назад +3

    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 Месяц назад +1

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

  • @johnmarklecias938
    @johnmarklecias938 2 месяца назад

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

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

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

  • @lucietee2296
    @lucietee2296 6 месяцев назад +1

    Exactly what I was looking for. thanks

  • @chhiaylinleng9289
    @chhiaylinleng9289 22 дня назад +1

    Thank for sharing this tutorial

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

  • @MuhdKazhim
    @MuhdKazhim 29 дней назад +1

    Very good, reading thru the SqlAlchemy docs give me pain

  • @MmMk-kt6xh
    @MmMk-kt6xh Месяц назад

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

  • @ultimatesound8515
    @ultimatesound8515 6 месяцев назад +1

    Looking forward to google authentication next

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

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

  • @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 6 месяцев назад

      @@codewithjoshoffical yes please.

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

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

  • @LarrzoneSolutions
    @LarrzoneSolutions Месяц назад

    the code in your github repo is different

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

  • @nikolatesla30
    @nikolatesla30 3 месяца назад

    Many many thanks🎉

  • @splendjet7792
    @splendjet7792 10 дней назад +1

    Super!

  • @davisgamer2301
    @davisgamer2301 2 месяца назад

    Bro which theem you use?

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