Centralized OAuth token service on Modal with encrypted storage and automatic refresh.
Project description
noauth
Centralized OAuth token service on Modal with encrypted storage and automatic refresh.
SDK install (GitHub)
Use this when you only want the client library (no Modal server deps). This install does not pull Modal.
uv pip install "git+https://github.com/thehumanworks/noauth.git"
Minimal usage:
from noauth.sdk import NoAuthClient
# Credentials can be provided via:
# 1. Explicit parameters (shown below)
# 2. Environment variables (NOAUTH_CLIENT_ID, NOAUTH_CLIENT_SECRET)
# 3. ~/.modal.toml file
client = NoAuthClient(
base_url="https://<your-app>.modal.run",
token_id="wk-...",
token_secret="ws-...",
)
print(client.health().message)
Server install (Modal app)
Use this when you want to deploy the service:
uv pip install "git+https://github.com/thehumanworks/noauth.git#egg=noauth[server]"
Deploy:
uv run modal deploy -m noauth.app
Notes:
- All endpoints require Modal Proxy Auth. Use a Proxy Auth token (
wk-.../ws-...). - API/CLI tokens (
ak-/as-) are not valid for proxy auth.
Project details
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 noauth-0.1.2.tar.gz.
File metadata
- Download URL: noauth-0.1.2.tar.gz
- Upload date:
- Size: 23.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d59b0c44538e898d27a70f172d73cea6308c820bb861bc7d8f80ebd9fd65fac
|
|
| MD5 |
d82e0e3c4af0f1c66b54859dabf6ceb4
|
|
| BLAKE2b-256 |
bf013d616a8677558f53d403ae619e0df246efe893f3c3cf3c6ea370b58ce9d6
|
File details
Details for the file noauth-0.1.2-py3-none-any.whl.
File metadata
- Download URL: noauth-0.1.2-py3-none-any.whl
- Upload date:
- Size: 23.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b21e4133d5e0eb60c246cf2f733a95b7f97001d1f0ed17f956e2e7c140aafbd
|
|
| MD5 |
efe94cc7006be8372c7ccfa1f425d91f
|
|
| BLAKE2b-256 |
9aa3df16ca2b8cb96ebad42a6e1d168b95677c26d0cbebd18ad0fc6b20109cc8
|