Quickly Authenticate Users with FastAPI and Token Authentication

Akamai Developer
Akamai Developer
In this 2 part series on API Authentication, Tim from ...
In this 2 part series on API Authentication, Tim from ‪@TechWithTim‬ explains how to build an authenticated API using python and Fast API. In this first episode, we'll cover how to set up a FastAPI project and start using tokens to authenticate users. Be sure to subscribe to catch the second video in this series.

Chapters:
0:00 - Introduction
1:58 - Install Python Packages
4:36 - FastAPI import and Project Setup
7:08 - Access FastAPI documentation
8:48 - Using Query and Path Parameters
11:03 - How to Accept API Requests
13:30 - Set up API User Authentication
19:36 - Hashing and Authenticating Passwords
26:30 - Create an Access Token based on Login Data
33:50 - Writing a Token Root
40:51 - Testing Token Authorization
45:31 - Conclusion

New to Cloud Computing? Get started here with a $100 credit → https://www.linode.com/lp/youtube-vie...
Check out Tim's code on GitHub → https://github.com/techwithtim/Fast-A...
Watch this video for an introduction to APIs → Intro to APIs | What are APIs and How...
Read the guide on choosing a Python API framework → https://www.linode.com/docs/guides/ho...
Subscribe to get notified of new episodes as they come out → https://www.youtube.com/linode?sub_co...

#Linode #FastAPI #API #TechWithTim
Product: Linode, API, FastAPI; ‪@TechWithTim‬

همه توضیحات ...