Authenticating a Flask API Using JSON Web Tokens

preview_player
Показать описание
In this video, I show you how to use JSON Web Tokens (JWT) to authenticate users of your API. First, a user will have to login using a specially created route which returns a token. Once a token is generated, it can be sent along with the rest of the request to other parts of your API to verify the user's identity without the user having to provide any additional login information. It's an easy way to verify the identity of users without making them go through the extra step of logging in every time they make a request.

Рекомендации по теме
Комментарии
Автор

This is by far the most underrated jsonify pronunciation. Great video by the way. Thanks.

yusufsalk
Автор

Neat explanation. Everything straight to the point. Thanks a ton for sharing such quality tutorials! This helped me a lot in understanding jwt

pratikrane
Автор

Always use 401 for unauthenticated routes. 403 is forbidden logic, for example forbidden directory listing etc. Not related to authentication.

koodauskanava
Автор

Terrific! This is super useful. 3 years later, thank you

marcoio
Автор

Thanks for sharing this. It has been a huge help towards understanding JWT in Python

WilliamRosswpr
Автор

Perfect! That is exactly what I need! Thank you for this simple, fast and easy solution!

noletovictor
Автор

Best video on authentication. Extremely well explained.

AnikSardar
Автор

Thx for this video, i have learned several JWT video tutorial on youtube. Your video is most clear i ever seen these days. Very helpful thx

qsoxkdq
Автор

Still your great and step-by-step approach style. Very appreciated!

JulienPy
Автор

So excited, to watch this! I also 100% sure you will deliver another awesome tutorial :D

TeddyAndersson
Автор

Thank you thank you thank you a million times ! your efforts are very much appreciated

ThaEzioAuditore
Автор

cool, how about for refresh token. that happen when we try to keep user remain login inside

ikhsanrahman
Автор

Great introduction. Made a somewhat intimidating topic seem straightforward

BRBallin
Автор

Thanks a lot! This is exactly what I was looking for. You saved me tons of time. Thanks again. :)

techsteering
Автор

Really clear, very informative, thanks a lot

andrewbartlett
Автор

2019, I found this video is useful. good contents.

saguoran
Автор

Many thanks, Anthony! Brain storage was improved :)

vic_shine
Автор

Excelente tutorial, this is useful for someone starting with this. Thanks

orlapa
Автор

i am getting invalid token despite of copying the token...help will be appreciated

abhaychinchole
Автор

Thank you very much this video helped me a lot

carloseduardodasilvaolivei
join shbcf.ru