Authenticate Users with FastAPI and Token Authentication
Offered By: Linode via YouTube
Course Description
Overview
Learn how to build an authenticated API using Python and FastAPI in this comprehensive tutorial video. Explore the process of setting up a FastAPI project and implementing token-based user authentication. Follow along as the instructor guides you through installing necessary Python packages, configuring the project, and accessing FastAPI documentation. Discover how to use query and path parameters, handle API requests, and set up user authentication. Dive into password hashing and authentication techniques, create access tokens based on login data, and write token roots. Conclude by testing token authorization to ensure your API's security. This 46-minute video is the first part of a two-part series on API authentication, providing a solid foundation for building secure and efficient APIs with FastAPI.
Syllabus
- Introduction
- Install Python Packages
- FastAPI import and Project Setup
- Access FastAPI documentation
- Using Query and Path Parameters
- How to Accept API Requests
- Set up API User Authentication
- Hashing and Authenticating Passwords
- Create an Access Token based on Login Data
- Writing a Token Root
- Testing Token Authorization
- Conclusion
Taught by
Linode
Related Courses
How to Protect APIs Using the Microsoft Identity PlatformMicrosoft via YouTube Tokenisation and Encryption in Digital Payments, FinTech
Udemy JWT Authentication - Persist Login State on Refresh - MERN Stack
Dave Gray via YouTube React Login Authentication with JWT Access, Refresh Tokens, Cookies and Axios
Dave Gray via YouTube Laravel API Crash Course for Beginners
Code With Dary via YouTube