Curso de FastAPI - Rest API com Python - Aula 06: Autenticação, OAuth2 e JWT Tokens
Want to learn more about our Complete Python Course? Click the link below to secure your spot in the next class: https://lp.hashtagtreinamentos.com/es... ----------------------------------------------------------------------- 📁 Files Used in Video: https://dlp.hashtagtreinamentos.com/p... 💻 Recommended video: FastAPI Course Playlist - Rest API with Python (Complete Backend) • Curso de FastAPI - Rest API com Python (Ba... ----------------------------------------------------------------------- Case Prefer the video in text format: https://www.hashtagtreinamentos.com/c... ----------------------------------------------------------------------- TO HIRE HASHTAG FOR YOUR COMPANY: https://www.hashtagtreinamentos.com/t... ----------------------------------------------------------------------- In the sixth lesson of the FastAPI Course with Python, we will take a big step in building our backend system, implementing full authentication with JWT tokens (JSON Web Tokens). We'll also explore configuring environment variables, strengthening project security and organization. You'll learn how to create a user authentication process using bcrypt for secure password validation, generate access tokens and refresh tokens with JWT, and understand the differences between them and how to configure them correctly. 🔔 Are you enjoying this comprehensive content on APIs with Python? Then subscribe to the channel, activate the bell, and leave a like so you don't miss the next lessons! ----------------------------------------------------------------------- Hashtag Programming ► Subscribe to our channel: http://bit.ly/3c0LJQi ► Turn on notifications (click the bell)! ► Like our video! ----------------------------------------------------------------------- Social Media ► Blog: https://bit.ly/2MRUZs0 ► YouTube: http://bit.ly/3c0LJQi ► Instagram: https://bit.ly/3o6dw42 ► Facebook: http://bit.ly/3qGtaF2 Here in the videos on the Hashtag Programação channel, we teach several Python tips so you can develop in this programming language and create your own projects and automations! ----------------------------------------------------------------------- Class Content 00:00 Introduction: What are JWT Tokens and why use them in FastAPI 01:03 Understanding the secure authentication flow with bcrypt 02:17 Creating the user authentication function in FastAPI 03:53 Adjusting the login route to validate authentication 04:12 How to verify username and password in the database 06:50 Testing the authentication process with FastAPI 08:41 Introduction to JWT tokens: what they are and how they work 11:42 Step-by-step guide to creating a JWT token with Python 12:40 How to configure environment variables for tokens in FastAPI 13:55 Developing the function to generate JWT tokens 19:50 Testing JWT token generation and validation 20:10 Fixing common errors when creating JWT tokens 20:50 Demonstrating how token security works JWT 22:50 Differences between Access Token and Refresh Token 23:57 Implementing Refresh Token logic with FastAPI 27:50 Testing the authentication flow with Refresh Token 29:47 Creating the Refresh Token route to renew access 32:32 Developing the function to validate and verify tokens 34:34 Finalizing the implementation of the Refresh Token route 35:47 Testing the new Refresh Token route 37:06 Conclusion and next steps in the project #python #hashtagprogramming

Aprenda de vez o que é uma API com esse exemplo simples em Python

Skandal-Reaktionen: Merz, KGE und Co. komplett übergeschnappt

Guide to Agentic AI – Build a Python Coding Agent with Gemini

Quickly Authenticate Users with FastAPI and Token Authentication

FastAPI Full Crash Course - Python’s Fastest Web Framework
![User Authentication in Flask App using JWT [ JSON Web Token ]](https://i.ytimg.com/vi/_3NKBHYcpyg/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLBXiVl9FSzkhxZDVngfHWUNbhpCWw)
User Authentication in Flask App using JWT [ JSON Web Token ]

Architecture, AI agents, and product empathy with Robert C. Martin

Como Criar API em Python Usando o FastAPI

FastAPI - HTTP Basic Authentication demo

Decepcionado com o que vi no Relatório Final #Live

AI Bubble: ‘OpenAI will be dead by 2030’ | Ed Zitron

Autenticação e Autorização em APIs Rest (Aula 7)

FastAPI JWT Tutorial | How to add User Authentication

REST API Crash Course - Introduction + Full Python API Tutorial

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

Python FastAPI Secure your service with OAuth2 easily

O que é JWT? Aprenda tudo sobre JSON Web Token

I Hacked This Temu Router. What I Found Should Be Illegal.

