# duo-labs/py_webauthn

Pythonic WebAuthn 🐍

Repository: https://github.com/duo-labs/py_webauthn
Canonical: https://ross.abutalabs.com/products/py_webauthn
Homepage: https://duo-labs.github.io/py_webauthn
Language: Python
License: BSD-3-Clause
License Family: permissive
Topics: webauthn, python, fido2, pip, pypi, duo, security, python3
Last push: 2026-06-29T23:07:00+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 90, release rhythm 78, longevity 100
- inputs: {"age_days": 3218, "days_push": 65, "days_rel": 65, "gap_med": 37.5, "n_releases_24m": 11}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1059, forks 192 (observed 2026-08-28T04:03:25.587193+00:00)

## What it is
A Python 3 library implementing the server-side of the WebAuthn API for verifying FIDO2 credential registration and authentication. It supports all FIDO2-compliant authenticators including security keys, Touch ID, Face ID, Windows Hello, and Android biometrics.

## Use cases
- add passkey login to a python web app
- verify webauthn registration responses server-side
- implement passwordless authentication with fido2 security keys
- support touch id or windows hello sign-in on my backend
- generate webauthn registration and authentication options
- verify attestation from a hardware security key

## When to choose
- you need a focused, well-maintained Python library for WebAuthn server-side verification
- you want simple JSON-based integration between your backend and browser WebAuthn API calls
- you need support for all FIDO2-compliant authenticators including platform biometrics

## When to avoid
- you need a full identity or SSO platform rather than a WebAuthn verification library
- your stack is not Python 3.10+
- you need client-side WebAuthn browser logic, which requires a separate frontend library

## Facets
- artifact type: library
- maturity: active
- function: auth, security, cryptography, sdk
- domain: security, web-development, backend, apis
- platform: python, cross-platform
- tags: webauthn, fido2, passkeys, passwordless-authentication, server-side, web-server

## Member repositories
- duo-labs/py_webauthn (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:25.587193+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:57:13.805803+00:00, confidence not recorded.
  - readme: https://github.com/duo-labs/py_webauthn (fetched 2026-08-28T04:03:25.587193+00:00, sha 112ad53a76c8)
  - homepage: https://duo-labs.github.io/py_webauthn (fetched 2026-08-29T12:59:19.694065+00:00, sha 0d255916274f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
