User Authentication - Flask Tutorial Series #8

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • In this episode of the Flask tutorial series, we learn how to build a user authentication system in Flask using databases.
    ◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
    📚 Programming Books & Merch 📚
    🐍 The Python Bible Book: www.neuralnine...
    💻 The Algorithm Bible Book: www.neuralnine...
    👕 Programming Merch: www.neuralnine...
    💼 Services 💼
    💻 Freelancing & Tutoring: www.neuralnine...
    🌐 Social Media & Contact 🌐
    📱 Website: www.neuralnine...
    📷 Instagram: / neuralnine
    🐦 Twitter: / neuralnine
    🤵 LinkedIn: / neuralnine
    📁 GitHub: github.com/Neu...
    🎙 Discord: / discord

Комментарии • 21

  • @smnomad9276
    @smnomad9276 5 месяцев назад +4

    This series is really good. Please make an advanced one once you finish this one, I am sure this could become the reference playlist in the future for anyone trying to learn Flask!

  • @rowinoak9435
    @rowinoak9435 3 месяца назад +1

    This is a really nice series. I would love to see and advanced series :)

  • @Param3021
    @Param3021 5 месяцев назад

    Nice Video!
    Thanks!
    Now, I can start my college project!

  • @sw-code6027
    @sw-code6027 5 месяцев назад +1

    Can you do a detail video on docker compose? That would be a great help.

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

    Could you make additional video of how to add email confirmation when user sign up, reset password?

  • @funkyeoooayush3432
    @funkyeoooayush3432 5 месяцев назад

    thanks man, very useful

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

    Do you have a reason that you are using the old style of SQLAlchemy queries instead of 2.0? Or it it just preference?

  • @johnraz99
    @johnraz99 5 месяцев назад

    I have a general question on Flask. Where are people using this? My webhosting service now requires me to get a private server to run Flask apps.

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

    Why not get id in the def__repr__(self) function?

  • @guglielmocerri7036
    @guglielmocerri7036 5 месяцев назад

    What do you think of a series of videos about Django? Now is the most used web dev tool in Python and more used than Flask

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

    Does this package have any functions for forgotten passwords and resetting passwords?

  • @johnraz99
    @johnraz99 5 месяцев назад

    Thanks!

  • @davitgogidze4310
    @davitgogidze4310 12 дней назад

    Great, it would be nice to authenticate using a JWT token for API 🏹 🗝 🛡

  • @muckiSG
    @muckiSG 5 месяцев назад

    Is the source code available? Did not find it in your github... thx!

  • @no-name1.612
    @no-name1.612 5 месяцев назад

    Can someone please tell me the intro name if it's a song?

    • @mikiyax
      @mikiyax 3 месяца назад +1

      I guess you can use song recognization function in those mainstream music app

    • @no-name1.612
      @no-name1.612 3 месяца назад

      @@mikiyax The one I know, Shazam, is not available for my phone

    • @no-name1.612
      @no-name1.612 3 месяца назад

      @@mikiyax It's in the video description now that youtube automatically detects the music and adds it. Thanks for the comment though, I wouldn't have see it without you.

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

    I wrote the same code but when I try to log in I always get a "Error: Invalid salt". After some debugging, I found out it is not saving the hashed password in the correct format. I have to add a decode function at the end: hashed_password = bcrypt.generate_password_hash(password).decode('utf-8')

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

      hashed_password = bcrypt.generate_password_hash(password).decode('utf-8') This should fix it. I started getting this error when I switched to postgres. It gets encoded twice when submitted to the database. \\x24326224313224483352757749766438764134333757365142464f4f4f464959664d66673575467873754e466250716f3166375753696955556b2e36. this is not the correct format. hope this helps

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

      Check your User table, if you are using PostgreSQL you should be see this format $2b$12$y4zQ0uufL84y7xEGPOTTveA0wKdLouZMetlSvkz3IzIhyLpwYhzTK