{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/7"},{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/5"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/11"},{"label":"Application Frameworks","url":"https://skillfed.io/packages/category/software-development-libraries-application-frameworks/3"}],"enrichment":{"capability":"Adds Azure Entra ID (formerly Azure AD) authentication and authorization to FastAPI applications, handling OAuth2 token validation and scope-based access control.","skillfed_tags":["azure-entra-id","oauth2-fastapi","enterprise-auth"],"use_cases":["Protect FastAPI APIs with Azure Entra ID in enterprise environments where Azure is the identity provider.","Build multi-tenant SaaS applications that authenticate users from multiple Azure tenants with tenant isolation.","Implement scope-based authorization to restrict API endpoints to users with specific permissions.","Add Swagger UI authentication to FastAPI OpenAPI documentation for testing authenticated endpoints interactively.","Migrate existing Azure AD authentication from other frameworks to FastAPI without rewriting auth logic."],"what_it_does":"FastAPI-Azure-Auth integrates Azure Entra ID authentication into FastAPI applications, eliminating the need to build OAuth2 token validation and authorization logic from scratch. It supports single-tenant, multi-tenant, and B2C authentication flows, with scope-based access control and tenant validation. The package wraps FastAPI's OAuth2 security scheme and handles OpenID Connect discovery, token validation via cryptography and pyjwt, and provides Swagger UI integration for interactive authentication during development.\n\nThe package depends on fastapi, pydantic for configuration, httpx2 for HTTP calls, cryptography and pyjwt for token verification, and anyio for async operations. Setup involves registering an Azure application, configuring FastAPI with OAuth2 redirect settings, and instantiating the appropriate bearer scheme (SingleTenant, MultiTenant, or B2C) as a dependency. Once configured, routes can enforce authentication and specific scopes declaratively.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and directly solves a common enterprise requirement. If your FastAPI application needs Azure Entra ID authentication, this is a purpose-built solution that handles the OAuth2 and token validation details. Install it if you are deploying to an Azure-centric organization; skip it if you use a different identity provider."},"id":"fastapi-azure-auth","links":{"html":"https://skillfed.io/packages/fastapi-azure-auth","md":"https://skillfed.io/packages/fastapi-azure-auth.md","pypi":"https://pypi.org/project/fastapi-azure-auth/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-02","license_spdx":null,"license_treatment":"permissive","name":"fastapi-azure-auth","python_support":"supports_current","summary":"Easy and secure implementation of Azure Entra ID for your FastAPI APIs"},"popularity":{"monthly_downloads":554887,"position":6030,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"5.3.0"}
