OAuth2 with Password (and hashing), Bearer with JWT tokens¶ Now that we have all the security flow, let's make the application actually secure, using JWT tokens and secure password hashing. This code is something you can actually use in your application, save the password hashes in your database, etc. We are going to start from where we left in the previous chapter and increment it. About JWT¶ JWT
![OAuth2 with Password (and hashing), Bearer with JWT tokens - FastAPI](https://cdn-ak-scissors.b.st-hatena.com/image/square/fbe0d8c31d1adec51299a04af224f0111c4b0ada/height=288;version=1;width=512/https%3A%2F%2Ffastapi.tiangolo.com%2Fassets%2Fimages%2Fsocial%2Ftutorial%2Fsecurity%2Foauth2-jwt.png)