JWT Authentication using Node, Express & Postgres

preview_player
Показать описание
JWT or JSON Web tokens are a popular way to implement authentication in modern web apps.
Many articles cover the theory of JWTs but not many show their practical usage. By the end of this video you will have a thorough understanding of how to use JWTs to implement authentication.
This video follows the flow outlined in the following article:

👩‍💻RESOURCES👩‍💻

👍FREE COURSE👍

💻DISCORD SERVER💻

🔗OTHER LINKS🔗

00:07 Install Software
00:42 Demo of end solution
01:07 Hasura article
08:14 Starting to code
48:56 REST Client extension
01:06:25 .env
01:36:00 Client code

#JWT #NODEJS #POSTGRES #EXPRESSJS #AUTHENTICATION
Рекомендации по теме
Комментарии
Автор

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

jas-mwfo
Автор

Thank you for this tutorial, It helps a lot.

ayberkduzova
Автор

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

buggycoder
Автор

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.

thepaintedsock
Автор

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

xdozvnb
Автор

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

eminm
Автор

How i insert refresh token add into database

mdrummanhossain
Автор

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

marksiely
Автор

What is the password for user postgres, sir?

nickieferrante
Автор

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.

calebkaufman
Автор

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

alexeyfilippov
Автор

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

Hjgfrfjufdetivjiu
Автор

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?

caleb-codes