The auth0-api-python library allows you to secure APIs running on Python, particularly for verifying Auth0-issued access tokens.It’s intended as a foundation for building more framework-specific integrations (e.g., with FastAPI, Django, etc.), but you can also use it directly in any Python server-side environment.
The Auth0 FastAPI API SDK library allows you to secure FastAPI APIs using bearer tokens from Auth0.It exposes a simple require_auth dependency that checks if incoming requests have a valid JWT, then provides the token claims to your route handler.
This SDK provides base abstractions for authentication and authorization in AI applications, including tools for implementing asynchronous user authentication using the Client Initiated Backchannel Authentication (CIBA) protocol. It supports:
A RAG Retriever for using OpenFGA
Tools for implementing asynchronous user authentication,
Tools for getting access tokens for third-party connections,