Authio Python SDK — passwordless, multi-org auth for B2B apps.
Project description
authio (Python)
Part of Authio Lobby — Authio's drop-in passwordless authentication. Learn more at https://authio.com/products/lobby.
Authio Python server SDK. Multi-org-first auth for B2B Python apps (FastAPI, Django, Flask, Litestar, etc.).
What's new — 2026-05-23 WorkOS-parity sprint
Four new product surfaces shipped on the Authio API
(authio_proto). Python idiomatic bindings for all four are on the next-release roadmap;
Flask snippets for the HMAC verifier are already published on the docs:
- Embeddable widgets — drop-in React surface; mint widget tokens
from any Python BFF via
POST /v1/widget-tokens. See docs.authio.com/widgets/overview. - Synchronous Actions — customer-hosted HTTPS webhook with HMAC-SHA256 envelope. Python (Flask) signature verification on docs.authio.com/actions/signature-verification.
- Dynamic Client Registration + CIMD — RFC 7591 / 7592 + MCP-spec 2025-11-25 preferred path. See docs.authio.com/guides/mcp-integration.
- Roles + permissions on the JWT — the existing
verify_session()path now exposesclaims["roles"](str in single-role mode, list in multi-role) andclaims["permissions"](always list). See docs.authio.com/concepts/roles-and-permissions.
Install
pip install authio
Quick start
from authio import Authio
client = Authio(api_key="sk_live_...")
memberships = client.list_memberships("user_01HX...")
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file authio-0.1.0.tar.gz.
File metadata
- Download URL: authio-0.1.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ca5766b2343586c2fafe0b558d58fb50f0b09ae1bd7c7eb0272d2bfe8a948e1
|
|
| MD5 |
5324b0d36d4d9b06e3c04469f44975e2
|
|
| BLAKE2b-256 |
297ff98f2cd1223aafc5c9cda44da50b9fab94a20c96be48a7c8e553d722df33
|
File details
Details for the file authio-0.1.0-py3-none-any.whl.
File metadata
- Download URL: authio-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7cfcbad0f6167c344a5caba499d8b73cc2801552e9d68bca8b08ea66d135cf08
|
|
| MD5 |
d2ff1ed071a4667b5b2c6adc30e2e499
|
|
| BLAKE2b-256 |
5bcca390968b04ec776daf2120ea1a3a12e3ec04830b37187b29f63685d39c5c
|