JWT Authentication using Node, Express & Postgres

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024

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

  • @jas-mw4fo
    @jas-mw4fo 4 месяца назад

    You are a really great tutor sir. Thank you for taking your time to create such a lesson.

  • @thepaintedsock
    @thepaintedsock 6 месяцев назад

    Excellent video that captures node, postgres and jwt for authentication. Would be great to see an example now of postgres row level access for a user to only be able to edit their row in the users table.

  • @buggycoder7900
    @buggycoder7900 3 года назад +8

    Good content, it would be nice if you have a created part 2 just for the front end.

  • @eminm6383
    @eminm6383 3 года назад +8

    @Morgan Page,
    It would be awesome if you make this process together with a simple react app.

  • @mohiburrahman5639
    @mohiburrahman5639 9 месяцев назад

    very good tutorial for postgres!!

  • @parsnipp
    @parsnipp 7 месяцев назад

    This was super helpful. cheers.

  • @ayberkduzova1304
    @ayberkduzova1304 Год назад

    Thank you for this tutorial, It helps a lot.

  • @CodewithAby
    @CodewithAby 2 года назад

    Thanks for this wonderful tutorial

  • @alexandresantos857
    @alexandresantos857 2 года назад

    Good job! Excelent project!

  • @プレサンナンピライプリータ

    Thank you so much. It helped a lot.
    I have a question. When accessing the API on client side, jwt-decode is not giving me the correct data.
    Refresh token is not generated correctly.
    Please make a second part how to access it from client server

  • @МаксимБондаренко-е4м

    Thank you! It was very helpful!

  • @soymartiinez
    @soymartiinez 3 года назад +1

    thanks men! 🔥

  • @pmioduszewski
    @pmioduszewski 2 года назад

    very helpful video! thank U!

  • @marksiely4747
    @marksiely4747 8 месяцев назад

    I am getting the following error: bash: syntax error near unexpected token `('

  • @calebkaufman5378
    @calebkaufman5378 3 года назад +2

    I'd really love to see a tutorial on the use of passwordless e.g. 'magic link' implementations. most of the documentation out there is really vague.

  • @mdrummanhossain5207
    @mdrummanhossain5207 3 года назад +1

    How i insert refresh token add into database

  • @shbita
    @shbita 3 года назад +1

    Thanks a lot

  • @alexeyfilippov42
    @alexeyfilippov42 2 года назад

    хороший курс. смотрите с яндекс браузером он переводит аудио автора

  • @nickieferrante5487
    @nickieferrante5487 3 года назад +1

    What is the password for user postgres, sir?

  • @Hjgfrfjufdetivjiu
    @Hjgfrfjufdetivjiu 2 года назад

    signup would have made this complete, and accessing a private page

  • @caleb-codes
    @caleb-codes 2 года назад +2

    i noticed you didn't store the access token anywhere. How are you supposed to send it as a header if it's not stored?

    • @nicmic4999
      @nicmic4999 2 года назад

      Hey, did you get any answer to this, or is it alright the way it is ?

    • @caleb-codes
      @caleb-codes 2 года назад

      @@nicmic4999 I decided not to do token cause they're bad. Do sessions

    • @nicmic4999
      @nicmic4999 2 года назад

      @@caleb-codes for real? Can you give me any link or stuff like that for more info?

    • @zephurylol6482
      @zephurylol6482 Год назад +1

      @@caleb-codes Just depends on use-case. If it's something that you may want to instantly revoke access for, then sure. For things where read access does not need to be instantly revoked, JWT is always an option. When using JWT, create, update and delete actions can simply be verified against the user profile's version (any time status, password, etc, is changed, create new version number, or string)
      I'm assuming you've heard someone say that it isn't secure, or something along those lines and it's completely untrue. There is absolutely nothing unsecure about JWT authentication, as long as it is implemented properly. On most projects, it's more than adequate enough with it's access revoke limitations and will cost less money than sessions.

  • @artursradionovs9543
    @artursradionovs9543 2 года назад

    Thanks a lot