yezz123/authx
Ready-to-use and customizable Authentications and Oauth2 management for FastAPI ✨ observed · 2026-09-01
Health v2 · maintenance only
92/100
- Activity 100
- Release rhythm 78
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 43.0
- age_days: 1836
- days_rel: 67
- days_push: 2
- n_releases_24m: 11
Adoption not part of the score
1196 stars · 62 forks observed · 2026-09-01
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
AuthX is a Python library providing ready-to-use, customizable authentication and OAuth2 management for FastAPI applications. It offers JWT-based access and refresh tokens, multiple token locations (headers, cookies with CSRF, query, JSON body), token blocklist/revocation, and optional extras like Redis caching and Prometheus metrics.
Use cases
- add jwt authentication to a fastapi app
- protect fastapi routes with bearer tokens
- implement login and refresh token flow in python
- verify oauth2 access tokens from an external identity provider
- cookie-based authentication with csrf for server-rendered fastapi pages
- revoke or blocklist jwt tokens in fastapi
- add prometheus metrics and redis caching to fastapi endpoints
When to choose
- you are building an API or SSR app with FastAPI and need JWT auth out of the box
- you want configurable token locations including cookies with CSRF protection
- you need token freshness, refresh tokens, and revocation in one package
- you want optional extras like Redis session storage, HTTP caching, and Prometheus metrics
When to avoid
- your project does not use FastAPI or the Starlette/Pydantic stack
- you need a full identity provider with user registration, password reset, and social login management
- you require enterprise SSO features like SAML or LDAP out of the box
- you need a framework-agnostic auth solution independent of FastAPI
Facets
library · maturity active
auth authorization middleware caching monitoring web-development backend security apis python fastapi jwt oauth2 pydantic token-revocation csrf-protection refresh-tokens web-server
10 sources
- readme: https://github.com/yezz123/authx · fetched 2026-09-01 · c770b9ab53e8
- homepage: https://authx.yezz.me/ · fetched 2026-08-29 · 19aa4850f7f5
- site_page: https://authx.yezz.me/get-started/installation · fetched 2026-08-29 · 2f23809e5089
- registry_pypi: https://pypi.org/pypi/authx/json · fetched 2026-08-29 · 9f74c4a23697
- site_page: https://authx.yezz.me/extra/templates · fetched 2026-08-29 · 8f6a3f12129b
- site_page: https://authx.yezz.me/faq/faq · fetched 2026-08-29 · 416a74b2f5ba
- site_page: https://authx.yezz.me/extra/OAuth2 · fetched 2026-08-29 · 99b85814c90f
- site_page: https://authx.yezz.me/extra/Metrics · fetched 2026-08-29 · f14d78ba56ed
- site_page: https://authx.yezz.me/extra/Cache · fetched 2026-08-29 · 828d0479a5f4
- site_page: https://authx.yezz.me/api/reference · fetched 2026-08-29 · 03e51613156b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| yezz123/authx | main | 92 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem