fastapi-cloudauth 0.4.3


fastapi-cloudauth supports simple integration between FastAPI and cloud authentication services (AWS

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

Stars: 252, Watchers: 252, Forks: 29, Open Issues: 31

The tokusumi/fastapi-cloudauth repo was created 2 years ago and was last updated 18 hours ago.
The project is popular with 252 github stars!

How to Install fastapi-cloudauth

You can install fastapi-cloudauth using pip

pip install fastapi-cloudauth

or add it to a project with poetry

poetry add fastapi-cloudauth

Package Details

GitHub Repo


  • Security
No  fastapi-cloudauth  pypi packages just yet.


A list of common fastapi-cloudauth errors.

Code Examples

Here are some fastapi-cloudauth code examples and snippets.

GitHub Issues

The fastapi-cloudauth package has 31 open issues on GitHub

  • Fix typo in docstring
  • "not verified" response - cognito
  • Add ability to specify user_info as an extra parameter when instantiating UserInfoAuth derived classes
  • Cognito "iat" claim set in the future
  • firebase.JWKS public keys expire and don't get refreshed
  • Standalone function to verify token
  • Firebase - Unauthenticated request is not raising an exception
  • Mock auth0 for tests
  • Cognito class instances talk to AWS at import time

See more issues on GitHub

Related Packages & Articles

authx 0.8.1

Ready to use and customizable Authentications and Oauth2 management for FastAPI

fastapi-jwt-auth 0.5.0

FastAPI extension that provides JWT Auth support (secure, easy to use and lightweight)

odmantic 0.9.1

ODMantic, an AsyncIO MongoDB Object Document Mapper for Python using type hints

secure 0.3.0

A lightweight package that adds security headers for Python web frameworks.

opyrator 0.0.12

Turn python functions into microservices with auto-generated HTTP API, interactive UI, and more.

fastapi-framework 1.5.2

A FastAPI Framework for things like Database, Redis, Logging, JWT Authentication and Rate Limits