JWT Authentication (Create Access And Refresh Tokens) - FastAPI Beyond CRUD (Part 9)

preview_player
Показать описание
JWT Authentication (Create Access And Refresh Tokens).

In this tutorial, we extend our user authentication system to incorporate JWT Authentication, a stateless method that enables users to access application resources using JSON Web Tokens (JWTs).

Specifically, we demonstrate how to implement a login endpoint where users can authenticate and obtain access tokens. Additionally, we explore the concept of refresh tokens and illustrate how they are generated.

#python #fastapi #apidevelopment

SOURCE CODE:

COURSE WEBSITE:

PLEASE DONATE TO THE CHANNEL THROUGH:
BUY ME A COFFEE:

PATREON:

You can also consider Becoming a member of this channel.

FOLLOW ME:

X:

GITHUB:

TIMESTAMPS:
(00:00:00) Introduction
(00:05:38) Encoding And Decoding Tokens
(00:18:15) Creating the login endpoint
(00:30:56) Conclusion
Рекомендации по теме
Комментарии
Автор

Hey guys, It has been a week since I last uploaded, I am back and ready to resume with the playlist. Thanks for watching. And please do me a favour and click the like button. Video starts at 05:36

SsaliJonathan
Автор

Can you add tutorial on how we can implement MFA or how we can implement OTP by sending code in users emails.Will it need to implement a middleware??

djtoon
Автор

Hi ssalijonathank,
I was waiting for this one.

Question:
Is there new series in preparation for future?

suen-tech
Автор

Hi boss. I was actually wondering if you're stopping the video already 😅.

Please I actually have a request, I don't know if I can send it here directly

olorundaremicheal