Рет қаралды 14,706
Note: This video was originally uploaded on October 8, 2021.
In this video you will learn how to leverage the FastAPI dependency injection system to integrate your API with Auth0 and protect your endpoints. You'll see how that affects your API documentation and how you can use code we provided to verify your Auth0 access token.
Chapters:
00:00 Intro
1:22 Running the Example Project
3:33 Dependency Injection System in FastAPI
5:09 Configuring an API in Auth0
7:10 Protecting the Endpoint
16:16 Making Protected Requests
24:54 Outro
Links:
- Code sample: github.com/jtemporal/fastapi-...
- Securing a FastAPI server with Auth0 by Mark Halpin: auth0.com/blog/build-and-secur...
- A very complete blog post on "How to Handle JWTs in Python": auth0.com/blog/how-to-handle-...
- Auth0's page on JWTs: auth0.com/learn/json-web-tokens/
- Auth0's free ebook on JWTs: auth0.com/resources/ebooks/jw...
- Documentation on Python virtual environments: docs.python.org/3/library/ven...
___________________________________________
Learn with Auth0 by Okta
Try for free - a0.to/auth0
The Auth0 by Okta blog - a0.to/blog
Ask questions on the Community Forum - a0.to/community ___________________________________________
Follow Us on Social
Twitter - / oktadev
LinkedIn - / oktadev