Every part of concepts in now clearer to me as understandable. In this compact video you've just described all the things in just less than 10 minutes where other content-makers (honorable) will surely take not less than 1 hour to cover the topic I surmise.
Thank you for taking the time to make such a clear and concise video. It's probably the most efficient tutorial I've ever watched. Explained well and straight to the point. Keep up the great work!
Thank you i tried following the official docs with jwt and had no idea how to have jwt with expiration date working properly this tutorial helped a lot thanks.
This was by far the best explanation for jwt with bearer authentication in FastAPI. The code is pretty neat. Thank you. Please do more videos. Your way of explaining things is cool.
Thanks, I really appreciate it! I have a few more lined up that I'm working on, but if there's anything in particular you want to see covered let me know :)
Hi Ian, I just wanted to know how would we implement this if we had a UI as well like a page at the register and login and when we generate the token on successful login how do we send it for authorization. Can you provide any help on that.
Brother, great tutorial. I was able to authenticate and use curl to test as shown in the tutorial. However I was curious as to how you would add an header to authenticate yourself via swagger.
I'm looking to authenticate with an ldap server. How is this done? Does the ldap server give me a token to my fast API app and I pass that back to the client?
My token is ...Cg023Q8 if I put ...Cg023Q7 it returns "Invalid token" but if I put ...Cg023Q9 it works. But it shouldn't work because as you can see my token ends with 8
Well yes, but the solution would be to make 2 types of token, 1 is the access token shown, and 1 is the refresh token, the refresh token would be longer, which the user can use to refresh the access token when the time is up
I like the way you install the requisite software in small undecipherable text as quickly as possible so your viewer can't see. How about simply listing the prerequisites in the video description along the github and FastAPI websites. The first thing I taught in my 'Given Tech Presentations' class is to always keep in mind your audience. The second is to teach to the lowest common denominator. Not 'stupid' but perhaps just tired from a long day. Give how much I liked and appreciated your 'pygame state machine' stuff (and use it)... in the first 13 seconds you lost/irritated your class.
I try and keep the videos really focused, and just cover one thing most of the time I covered setting up a database in a separate video before this which you can find here: th-cam.com/video/Lj7ivxUvSog/w-d-xo.html Figured covering that again here would slow things down for people that already knew that stuff
This is seriously the best tutorial in FastAPI authentication.
Thanks! I really appreciate it!
Every part of concepts in now clearer to me as understandable. In this compact video you've just described all the things in just less than 10 minutes where other content-makers (honorable) will surely take not less than 1 hour to cover the topic I surmise.
Thank you for valuing our time and making a clear straight to the point video with no bs!
good stuff, I love how you explained what all the imports actually do. Most people just blaze through all that stuff
whoa... months of headache.. and now this man saved my life
Thank you for taking the time to make such a clear and concise video. It's probably the most efficient tutorial I've ever watched. Explained well and straight to the point.
Keep up the great work!
Thank you i tried following the official docs with jwt and had no idea how to have jwt with expiration date working properly this tutorial helped a lot thanks.
That's awesome! Glad it was helpful for you!
Short, sweet and to the point. Bless you.
Thanks! I'm trying to keep all my videos like that, no unnecessary padding!
Sad that your channel didn’t take off. Thanks for the videos anyway. They are great!
This was by far the best explanation for jwt with bearer authentication in FastAPI. The code is pretty neat. Thank you. Please do more videos. Your way of explaining things is cool.
Thanks, I really appreciate it!
I have a few more lined up that I'm working on, but if there's anything in particular you want to see covered let me know :)
@@itsthatianguy could you do a video on fastapi with social login? Oauth2 with google?
@@itsthatianguyhow to add oauth2 to the code ?
Dude this was one of the best formats for a video tutorial I have seen. It also convinced me to use FastAPI thanks.
Nice English channel, hope you get to 1000 soon! Subscribed.
Finally a no bs guide !
You very well explained the concept in very less time, quiet impressive. Thanks
Thanks a lot. This was an incredibly easy-to-understand tutorial compared to other tutorials on FastAPI authentication.
I need more of this!
Very easy to follow instructions. Great video. Thanks.
Glad it was helpful, thanks for watching!
great video, one question: but what if I want to implement a refresh token , how can I do it?
@incompetent_ian How do you handle logout when using pyjwt. I want to make user logout and expire the token manually when doing that.
Lovely clear and concise demo, thanks.
This is just what I needed. OAuth2 is a bit of an overkill for my purposes.
You saved my life mate, cheers
well explained. if you have implemented more and detail about the each step involved and the context behind it. this would be an exceptional.
Eagerly waiting for your next tutorials.... What's you paused ? Plz post on Flet+FastAPI app development
Awesome contact very concise
Thanks a lot bro 👍
you save my entire day ...
thanks a lot, super straightforward!
Totally agree!
Hi Ian, I just wanted to know how would we implement this if we had a UI as well like a page at the register and login and when we generate the token on successful login how do we send it for authorization. Can you provide any help on that.
Fast, clear and no BS. Not a typography class like those kids do these days. Thanks.
Dude, you are just so awesome !! Thankss🙌
Thanks! Glad you enjoyed the video
now how to add oauth2 ??????
great tutorial ! Thanks. BTW, have You any idea how to integrate it with Keycloak ?
Great video, where and how do you store your token on the fronted??
how to keep the token valid? the way it is now, it works but wouldn't the user be logged out when the token expires?
Nice, but how to verify token in every api request method is post/get.
very informative . great work. 👏
nice video, but where refresh token mechanism?
I'm facing issue while creating user (using register api) on windows machine. kindly help me. Thank You in advance
Brother, great tutorial. I was able to authenticate and use curl to test as shown in the tutorial. However I was curious as to how you would add an header to authenticate yourself via swagger.
I'm looking to authenticate with an ldap server. How is this done? Does the ldap server give me a token to my fast API app and I pass that back to the client?
How do you test the /protected endpoint using pytest, can you tell that also please testing the endpoints that depends on authwrapper
wow.this is so nice. nice and precise.
Can you please make a video on fastapi-redis api cache
Thanks Ian!
How would you translate this to the front-end?
Hey your DP looks amazing. Can you let us know how to make that?
Haha thanks!
I'm no good at making things like that myself, I got this from someone on Fiverr - www.fiverr.com/ngedit_vector
@@itsthatianguy If you are at this thing why not you create a tutorial for us. So, we also learn. Thanks in advance
Great video! Cheers
how to refresh tokens after expiry
Nice!
Thank you so much
My token is ...Cg023Q8 if I put ...Cg023Q7 it returns "Invalid token" but if I put ...Cg023Q9 it works. But it shouldn't work because as you can see my token ends with 8
so after 15 minutes the user would have to login again?
Well yes, but the solution would be to make 2 types of token, 1 is the access token shown, and 1 is the refresh token, the refresh token would be longer, which the user can use to refresh the access token when the time is up
It won't work if test it in the swagger
Can you make the tutorial of fastapi with tortoise-orm
great job
Gracias! Esta genial
This is how we do it
I like the way you install the requisite software in small undecipherable text as quickly as possible so your viewer can't see. How about simply listing the prerequisites in the video description along the github and FastAPI websites.
The first thing I taught in my 'Given Tech Presentations' class is to always keep in mind your audience. The second is to teach to the lowest common denominator. Not 'stupid' but perhaps just tired from a long day.
Give how much I liked and appreciated your 'pygame state machine' stuff (and use it)... in the first 13 seconds you lost/irritated your class.
where is database? storing stuffs in a list? how long does it take to add database? to make tutorial more useful
I try and keep the videos really focused, and just cover one thing most of the time
I covered setting up a database in a separate video before this which you can find here: th-cam.com/video/Lj7ivxUvSog/w-d-xo.html
Figured covering that again here would slow things down for people that already knew that stuff
Very nice! Well done.
awesome !