Skip to main content

auth-md

Community implementation, not affiliated with WorkOS.

Minimal helpers for the auth.md agent-registration protocol.

Early release (0.1.0). Tracks the workos/auth.md agent-services guide as of October 2026. The spec is still evolving.

pip install auth-md

Includes protected_resource_metadata, authorization_server_metadata, www_authenticate, generate_auth_md, and verify_id_jag (trust list, audience, typ, asymmetric algorithms only, client_id, verified email or phone, auth_time freshness, jti replay protection).

from auth_md import verify_id_jag, MemoryJtiStore

identity = verify_id_jag(
    assertion,
    audience="https://auth.yourapp.com",
    trusted_issuers={"https://provider.example": {"display_name": "Provider"}},
    jti_store=MemoryJtiStore(),  # use Redis or a DB table in production
)

Never bind a verified ID-JAG to an existing account by email alone; the spec requires a first-link step-up.

MIT licensed.

Metadata

Release files for auth-md 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for auth-md 0.1.0
File Size Uploaded
auth_md-0.1.0.tar.gz 7.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for auth-md 0.1.0
File Interpreter ABI Platform
auth_md-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.2 kB

Release files / auth_md-0.1.0.tar.gz

Download URL auth_md-0.1.0.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8273078d973b083dfd104656177812122d6231893546875b59250ed776371021
BLAKE2b-256 checksum
How to use checksums
9ad0154d7e473bebc4a63e5aa5fcd712b4ddb4e484dac6d348e5b56829b2dce3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.11

Release files / auth_md-0.1.0-py3-none-any.whl

Download URL auth_md-0.1.0-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e330ed5ed2e413ea08e873822ccc01921b7e715148d125b7aafcbb2cca6fecb6
BLAKE2b-256 checksum
How to use checksums
4516daf8910a49347c1f09e6605566580a0aa97d89427eea057fd3008a5e1701
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.11

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page