$npx skillfedfor your agent

fastapi-cloudauth

fastapi-cloudauth supports simple integration between FastAPI and cloud authentication services (AWS Cognito, Auth0, Firebase Authentication).

SkipPyPI SecurityReleased Jan 2022125.5K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — fastapi_cloudauth-0.4.3-py3-none-any.whl
v0.4.3 · released 2022-01-06 · Python >=3.6.2,<4.0 · 3 runtime deps: fastapi, python-jose, requests

No. While the package is low-friction to install and permissively licensed, it is abandoned (last release January 2022, no commits since May 2023). FastAPI, python-jose, and authentication standards have evolved; the package will not receive security patches or compatibility fixes. For new projects, use actively maintained alternatives or implement token verification directly with current versions of FastAPI and python-jose.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires environment variables (REGION, USERPOOLID, APPCLIENTID for Cognito; DOMAIN, CUSTOMAPI for Auth0; PROJECT_ID for Firebase) and valid tokens from the respective cloud authentication service.
  • Low install friction with three straightforward runtime dependencies.
  • However, the package is abandoned—last release was 2022-01-06, over 1681 days ago, with no recent commits.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you may use, modify, and distribute this package freely in commercial or private projects without restriction.

last release 2022-01-06 (1681 days) · last repo commit 2023-05-17 · 436 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 125,504 downloads/mo, #11,811 on PyPI

Verify before relying

pip install fastapi-cloudauth

from fastapi import FastAPI, Depends
from fastapi_cloudauth.cognito import Cognito

app = FastAPI()
auth = Cognito(region="us-east-1", userPoolId="pool-id", client_id="client-id")

@app.get("/", dependencies=[Depends(auth.scope(["read:users"]))])
def secure():
    return "Hello"
  • Whether the package remains compatible with current versions of FastAPI, python-jose, and requests given its abandoned status.
  • Whether dependency versions are pinned or if breaking changes in FastAPI's dependency injection have affected the package since 2022.
Same gist for agents: .md · .json

What it is and what it does

fastapi-cloudauth is a FastAPI integration library that standardizes JWT token verification and user claim extraction for three major cloud authentication providers: AWS Cognito, Auth0, and Firebase Authentication. It wraps the token validation logic (signature verification, expiration checks, audience claims) and provides FastAPI dependency injection helpers to protect endpoints with scope-based authorization and to inject authenticated user information into route handlers.

The package depends on fastapi, python-jose (for JWT handling), and requests (for fetching public keys). It supports extracting both access tokens (for scope-based authorization) and ID tokens (for full user profile data), and allows custom Pydantic models to extend the default claims. However, the package has been abandoned since January 2022 with no maintenance activity, meaning it will not receive updates for breaking changes in FastAPI, security patches, or new authentication standards.

Use it for

  • Protect FastAPI endpoints with AWS Cognito access tokens and scope-based authorization.
  • Integrate Auth0 authentication into FastAPI applications with custom claim extraction via Pydantic models.
  • Verify Firebase ID tokens in FastAPI routes and extract user identity information.
  • Implement scope-based access control (all-scopes or any-scope matching) across multiple cloud providers.
  • Extract and validate user profile data (email, username, custom fields) from JWT claims in dependency injection.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No.

While the package is low-friction to install and permissively licensed, it is abandoned (last release January 2022, no commits since May 2023). FastAPI, python-jose, and authentication standards have evolved; the package will not receive security patches or compatibility fixes. For new projects, use actively maintained alternatives or implement token verification directly with current versions of FastAPI and python-jose.

Install

fastapi-cloudauth on PyPI

Before you install

Low install friction with three straightforward runtime dependencies. However, the package is abandoned—last release was 2022-01-06, over 1681 days ago, with no recent commits. Security patches and compatibility updates for FastAPI or authentication standards will not be forthcoming.

Requires environment variables (REGION, USERPOOLID, APPCLIENTID for Cognito; DOMAIN, CUSTOMAPI for Auth0; PROJECT_ID for Firebase) and valid tokens from the respective cloud authentication service.

License in practice

MIT license is permissive; you may use, modify, and distribute this package freely in commercial or private projects without restriction.

Quickstart

pip install fastapi-cloudauth

from fastapi import FastAPI, Depends
from fastapi_cloudauth.cognito import Cognito

app = FastAPI()
auth = Cognito(region="us-east-1", userPoolId="pool-id", client_id="client-id")

@app.get("/", dependencies=[Depends(auth.scope(["read:users"]))])
def secure():
    return "Hello"

Verify before relying

  • Whether the package remains compatible with current versions of FastAPI, python-jose, and requests given its abandoned status.
  • Whether dependency versions are pinned or if breaking changes in FastAPI's dependency injection have affected the package since 2022.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.6.2,<4.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
fastapipython-joserequests
MaintenanceAbandoned 1,681 days since the last release
Last repo commit
First released
Downloads125,504 / month, #11,811 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Environment :: Web EnvironmentLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: SecurityTyping :: Typed

Evidence: fastapi_cloudauth-0.4.3-py3-none-any.whl

Tags

Capabilities
fastapi jwt authenticationaws cognito fastapiauth0 fastapi integrationfirebase authentication fastapifastapi token verificationfastapi oauth2 claimscloud auth fastapi
Topics
jwt-verificationcloud-authabandoned
PyPI keywords
FastAPIauthenticationAuth0AWS CognitoFirebase Authentication

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “firebase authentication fastapi”

  • fastapi-cloudauthIntegrates FastAPI applications with cloud authentication services…
  • firebase-adminFirebase Admin Python SDK provides server-side access to Firebase…
  • firebase-messagingReceives push notifications sent via Firebase Cloud Messaging (FCM)…

Give your agent the search over MCP, or paste the wish link into any chat.

More Security packages

SecretStorage With conditions
PyPI · Python Modules · released Nov 2025

Provides Python bindings to the FreeDesktop.org Secret Service API for securely storing and retrieving passwords and secrets through GNOME Keyring, KWallet, or KeePassXC.

BSD-3-Clausepure Python · 3.10+aging
226.9Mdownloads / mo
msal Worth it
PyPI · Security · released May 2026

MSAL for Python handles OAuth2 and OpenID Connect authentication with Microsoft identity services, managing token acquisition, caching, and refresh for applications integrating with Microsoft Entra ID, Microsoft Accounts, and Azure AD B2C.

MITpure Python · 3.9+
223.0Mdownloads / mo
joserfc Worth it
PyPI · Security · released Jul 2026

joserfc implements JOSE standards (JWS, JWE, JWK, JWT, and related RFCs) for signing, encrypting, and managing JSON-based cryptographic tokens in Python.

BSD-3-Clausepure Python · 3.10+
155.5Mdownloads / mo
Authlib Worth it
PyPI · Security · released May 2026

Authlib provides a complete implementation of OAuth 1.0, OAuth 2.0, and OpenID Connect 1.0 for building both authentication clients and servers, with built-in support for JWS, JWK, JWA, and JWT standards.

BSD-3-Clausepure Python · 3.10+
155.1Mdownloads / mo
argon2-cffi-bindings With conditions
PyPI · Python Modules · released Jul 2025

Provides low-level CFFI bindings to the official Argon2 password hashing algorithm for use by libraries and applications that need direct access to Argon2 without higher-level abstractions.

MITcompiled wheel · 3.9+
74.2Mdownloads / mo
adal Skip
PyPI · Security · released Apr 2021

ADAL for Python authenticates applications with Azure Active Directory to obtain tokens for accessing Azure AD-protected resources.

Install only if maintaining existing code that already depends on it, and plan a migration.

MITpure Pythonabandoned
44.5Mdownloads / mo

See also axioms-fastapi · fastapi-auth0 · fastapi-cognito · propelauth-fastapi · fastapi-login · Flask-Cognito · firebase-admin · auth0-api-python · cognitojwt · firebase-functions