Fast user authentication with FastAPI and token authentication

Fast user authentication with FastAPI and token authentication

HomeAkamai DeveloperFast user authentication with FastAPI and token authentication
Fast user authentication with FastAPI and token authentication
ChannelPublish DateThumbnail & View CountDownload Video
Channel AvatarPublish Date not found Thumbnail
0 Views
In this two-part series on API authentication, Tim from @TechWithTim explains how to create an authenticated API using Python and Fast API. In this first episode, we show how to set up a FastAPI project and use tokens to authenticate users. Don't forget to subscribe to see the second video in this series.

Chapter:
0:00 – Introduction
1:58 – Installing Python packages
4:36 – FastAPI import and project setup
7:08 – Accessing the FastAPI documentation
8:48 – Using query and path parameters
11:03 – How to accept API requests
13:30 – Setting up API user authentication
19:36 – Hashing and authentication of passwords
26:30 – Creating an access token based on credentials
33:50 – Writing a token root
40:51 – Testing token authorization
45:31 – Conclusion

New to cloud computing? Get started with 100 credits here https://www.linode.com/lp/youtube-viewers/?ifsolinodetube&utm_sourceyoutube&utm_mediumSuperUser
Check out Tim's code on GitHub https://github.com/techwithtim/Fast-API-Tutorial
Watch this video for an introduction to APIs: https://www.youtube.com/watch?vArIyMXeHwi0
Read the guide on how to choose a Python API framework https://www.linode.com/docs/guides/how-to-choose-python-api-framework/
Subscribe to be notified of new episodes as they are released: https://www.youtube.com/linode?sub_confirmation1

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

Please take the opportunity to connect with your friends and family and share this video with them if you find it useful.