Commit Graph

45 Commits

Author SHA1 Message Date
rishabhraj36 48f7c6fbb7 docs: fix self-hosting quick start and first-run flow 2026-06-17 15:33:16 +05:30
Manoj Bajaj d9936d5699 feat!: replace init and scan with authsome onboard
Unifies first-run setup into a single idempotent command that registers
identity, completes claim, and imports API keys from env. Persists
--base-url in client config for remote daemon connections.

Closes #434

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 02:22:10 -07:00
ngaurav 976d4a59f4 Fix: 'broker' to 'gateway' in README 2026-06-15 13:28:28 +05:30
ngaurav 841c0d698b docs: unified messaging
Using "Credential Gateway" Everywhere
2026-06-15 09:52:45 +05:30
Manoj Bajaj 54d7c3a200 docs: Update documentation to correctly reference current authsome state 2026-06-05 14:21:35 +05:30
Manoj Bajaj 9f83458df5 chore: split CI into focused workflows, clean up README
- Replace monolithic test.yml with python-lint, python-test, and ui-lint
  workflows, each with path-based conditional triggers
- Remove publish-rc.yml (RC deploy workflow)
- Remove .claude/commands/run-evals.md
- Fix stale actions/checkout@v6 references (non-existent version)
- Update README: remove local-first framing, provider counts, Telemetry
  and Security sections, consolidate Docs links into Links section

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-02 17:02:49 +05:30
Manoj Bajaj 6231674610 feat: add Dockerfile, docker-compose, and self-hosting guide
Enables single-command self-deployment of the authsome daemon in a
container without requiring Python or uv on the host.

- Multi-stage Dockerfile: ui-builder (Node 24/pnpm) → py-builder (uv
  wheel) → slim Python 3.13 runtime, non-root authsome user
- docker-compose.yml with named volume and restart: unless-stopped
- .dockerignore to keep the build context minimal
- docs/guides/self-hosting.md covering quick-start, env vars, volume
  backup/restore, TLS with Caddy, and local builds
- .github/workflows/docker.yml CI job that builds the image on every PR
- README.md self-hosting quick-start section

Closes #366

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-02 16:45:48 +05:30
Ankit Ranjan 9d7c88fb0a feat: implement opt-out telemetry support via environment variables and add associated documentation and tests 2026-05-22 16:01:13 +05:30
Nishant Gaurav 69a0cb9cf0 updated quickstart in README 2026-05-19 14:01:47 +05:30
Nishant Gaurav baa0fddd01 updated the README 2026-05-19 13:48:47 +05:30
Manoj Bajaj a165d372fc docs: rewrite roadmap.mdx, remove ROADMAP.md, link README to docs
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Entire-Checkpoint: b1ed8ab1528e
2026-05-18 13:49:44 +05:30
Manoj Bajaj 07534a4cdc docs: add Roadmap, Contributing, and Links sections to README
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Entire-Checkpoint: 1cac55d7aac7
2026-05-18 13:43:23 +05:30
Priyansh Khodiyar cdf3de8456 fix(docs): align README, plugin, and docs with source-of-truth
The earlier audit surfaced contradictions between docs and code that
were verified against agentrhq/authsome main at 3929b86. This fixes
the verified gaps; the rest is tracked for follow-up PRs.

Provider count: source has 45 JSONs (14 OAuth2 + 31 API key) in
src/authsome/auth/bundled_providers/. Notion ships as two entries
(notion + notion_dcr) and Klaviyo as two (klaviyo + klaviyo-oauth).

- README.md: 44 -> 45 and 13 OAuth -> 14 OAuth.
- .claude-plugin/marketplace.json: same correction in the plugin
  description.

Master key path: paths.py routes the server master key to
~/.authsome/server/master.key, confirmed by vault/crypto.py and
health.py. Three doc pages had the wrong (top-level) path.

- security/threat-model.mdx: data-at-rest table and offline-disk
  paragraph.
- security/encryption.mdx: local_key backend description.
- troubleshooting/doctor.mdx: both accordion FAIL examples and the
  chmod remediation. Also points users at "authsome init" instead of
  the side-effect-on-first-run workaround.
- concepts/credential-storage.mdx: local_key backend description.
- concepts/architecture.mdx: vault wrapping description.

Architecture layer status: src/authsome/ ships identity/ (Ed25519
keys, did:key DIDs, PoP JWT), audit/ (structured JSON events), in
addition to vault/ and auth/. Only policy/ is still planned.

- concepts/architecture.mdx: replace the "alpha focuses on Vault and
  Auth" Note with a per-layer status table reflecting reality. Also
  updates the SQLite backend description to the kv_store path
  (~/.authsome/server/kv_store/) consistent with the canonical
  filesystem layout.

Hosted daemon cross-reference: changelog 0.2.4 ships
AUTHSOME_DAEMON_URL and AUTHSOME_SERVER_BASE_URL, but the threat
model classifies hosted daemons as "Caveat (VPN only)" for private
and "No" for public. Cross-reference added to the changelog entry so
adopters see the constraint at the point of the feature
announcement.

Domain: README links updated from authsome.agentr.dev to
authsome.ai for consistency with the docs canonical URL fixed in
#271.

Out of scope (separate follow-ups):
- Profile-as-folder trees in credential-storage.mdx and
  profiles-vs-connections.mdx still show profiles/<name>/store.db,
  which conflicts with the new server/kv_store/ architecture. Needs
  a dedicated rewrite of those pages.
- mitmproxy CA install procedure (10 pages mention it; none have an
  install command).
- Anthropic bundling.
- Marketing site sitemap on authsome-web.
2026-05-15 19:23:13 +05:30
Ankit Ranjan da185352b2 refactor: rename provider host_url configuration field to api_url throughout codebase and documentation 2026-05-15 19:01:55 +05:30
Priyansh Khodiyar 373a4a80e9 docs(readme): add codecov badge and star history chart
Adds the codecov badge to the badge row alongside the existing Tests
badge so the coverage signal sits next to the build signal. Adds a
Star History chart between Contributing and License using the
star-history.com embed, with light/dark variants via <picture>.

The codecov badge depends on the codecov integration being wired up
for agentrhq/authsome; if it isn't yet, the badge will render as
"unknown" until the integration is enabled.
2026-05-14 19:49:18 +05:30
Priyansh Khodiyar 2135499d1a docs(readme): overhaul with logo, community, security, and integrations
The README had grown stale relative to the project's current state. This
brings it up to par with comparable open-source credential tools
(Doppler, Infisical) and agent infra READMEs (Ollama, Continue).

Tier 1 (correctness):
- Fix Tests + codecov badge URLs from manojbajaj95 to agentrhq.
- Drop broken link to docs/specs/authsome-v1.md (removed upstream).
- Replace 3 em-dashes with periods per house style.
- Repoint Docs section links to hosted authsome.agentr.dev/docs instead
  of local MDX paths (better reading experience on GitHub).

Tier 2 (close gaps every comparable project has):
- Add Install section before Quick Start with pip and uvx commands.
- Add Community section linking Discord and Issues.
- Add Security section pointing at the responsible disclosure policy.
  Critical for a credential tool; was previously absent.
- Add Contributing section linking to CONTRIBUTING.md.

Tier 3 (polish and differentiation):
- Add light/dark wordmark logo at top (reuses the SVG mark shipped to
  the docs site, sized for README hero).
- Add header link bar (Docs / Website / Discord / Issues).
- Surface "44 bundled providers" callout near the top.
- Add Agent Integrations section listing Claude Code, Codex, Cursor,
  OpenCode, LangChain, LlamaIndex, OpenAI Agents SDK, Anthropic SDK.
- Add Discord badge to the badge row.
- Replace the ASCII art block with the logo image. The ASCII was a
  placeholder before a real brand mark existed.
2026-05-14 19:46:27 +05:30
Nishant Gaurav cfd8188896 colors updated 2026-05-10 10:30:42 +05:30
Nishant Gaurav 33893ddc94 Update README how-it-works diagram 2026-05-08 12:59:22 +05:30
Nishant Gaurav 316c39fe21 Update README with agent skill quickstart 2026-05-08 12:50:05 +05:30
Ankit Ranjan cc1030ffda docs: update CLI commands in documentation to use uvx for execution 2026-05-04 16:50:51 +05:30
ngaurav f5e7193823 Merge pull request #139 from manojbajaj95/docs/add-demo-video
Docs/add demo video
2026-05-02 08:24:56 +05:30
Nishant Gaurav a74f16f1ef docs: use GitHub user-attachments URL for demo video
Replaces release asset URL with native GitHub video embed that renders inline on GitHub.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-02 08:00:00 +05:30
Nishant Gaurav cdd71a37d0 docs: host demo video as release asset
Use GitHub release download URL instead of committing the binary to the repo.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-01 18:00:41 +05:30
Nishant Gaurav 83ed25a750 docs: add demo video to README
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-01 17:54:52 +05:30
ngaurav fb8515d5aa Merge pull request #123 from manojbajaj95/fix/readme-ascii-art
fix: correct ASCII art logo in README
2026-04-30 17:59:49 +05:30
beubax 2f47c960a2 Merge branch 'develop' of https://github.com/manojbajaj95/authsome into develop 2026-04-30 16:32:57 +05:30
beubax 7fe5b0ccc9 refactor: update export command to return formatted string values instead of side-effecting environment variables 2026-04-30 16:32:51 +05:30
Rishabh 0456514fe2 Update README
Removed mention of Mintlify from documentation site description.
2026-04-30 15:48:16 +05:30
rishabhraj36 13031438e2 fix: refactored docs 2026-04-30 15:42:36 +05:30
rishabhraj36 1f44c3e33b chore: added docs support 2026-04-30 15:31:21 +05:30
Nishant Gaurav 4a4af54ac9 fix: correct ASCII art logo alignment in README
Two characters were off in the slant FIGlet render of 'authsome':
- Line 1 was missing a leading space
- Line 2 had '_/' instead of '__/' breaking the 't' descender
2026-04-30 10:07:09 +05:30
beubax e831c53287 refactor: simplify CLI usage by removing complex setup instructions and mentions of init; update export to set environment variables directly 2026-04-29 13:50:19 +05:30
Manoj Bajaj 4c756a07b4 fix: add host_url to bundled providers and update docs for current API
Add host_url field to atlassian, discord, gitlab, hubspot, microsoft,
notion, and slack provider JSON configs. Fix docs to reflect current
flow names (api_key, device_code), add --show-secret to README example,
and remove --profile flag references that are no longer supported.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 20:14:44 +05:30
Manoj Bajaj 456d9bd811 feat: add proxy runner, RC publishing, and OAuth scope support (#53)
- Add local HTTP proxy runner for on-the-fly credential injection in child processes
- Add RC publish workflow triggered on successful tests on develop branch
- Add OAuth scope management and prompting during client login
2026-04-24 15:03:12 +05:30
Tejas 676608f733 Fix/tests (#38)
* refactor: unify API key flow logic, update authentication tests to use bridge, and add CI workflow badge.

* refactor: expand test coverage and add Codecov badge to README

* refactor: remove unused TokenExpiredError alias from client tests

* chore: remove ty type checking from CI workflow

* feat: add type checking, improve token refresh error handling, and enable HTTP server port reuse in tests

* refactor: add whitespace to conftest for improved readability

* fix: ensure HTTPServer cleanup via finally blocks and improved test fixture teardown

* style: reorder imports in conftest.py to follow PEP 8 standards

* refactor: clean up whitespace and formatting in test server cleanup fixture

* refactor: enable address reuse directly in PKCE flow handlers and remove global test configuration

* feat: make callback port configurable in PKCE and DCR PKCE flows and update tests to use dynamic ports

* test: dynamic callback port assignment in PKCE and DCR PKCE flow tests
2026-04-22 03:44:39 -07:00
Manoj Bajaj 12cbfae72f docs: refresh readme (#30) 2026-04-22 12:26:31 +05:30
Manoj Bajaj f0ee51d0f2 Feat/spec improvements (#29)
* docs(spec): overhaul authsome-v1 spec with security model, provider states, and naming fixes

- Rename all .authlib/.authlib_home references to .authsome/AUTHSOME_HOME
- Add master.key to filesystem layout with 0600 permission requirement
- Add Provider State Model section (available → configured → connected)
- Introduce Sensitive Input Pipeline section (env var → browser bridge → getpass)
- Remove --client-secret as CLI argument; client_secret collected via pipeline only
- Add client.client_id_env/client_secret_env fields to OAuth provider schema
- Remove refresh_token from export maps; access token only exported
- Rewrite authsome login: error on re-login, --reset flag, new input model
- Update authsome list to show full provider catalog across all states
- Fix authsome run: access token injection only, error if provider not connected
- Add executable name authsome throughout CLI examples
- Fix store key namespace: provider definitions are filesystem files, not store keys
- Update all E2E examples to reflect new flows
- Renumber all sections cleanly (35 sections total)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* docs(readme): Updated readme to be more clear and prettier

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 22:17:12 -07:00
Tejas 8302b105bf feat: introduce secure browser-based bridge for sensitive input collection and remove CLI credential flags (#28) 2026-04-21 04:37:24 -07:00
beubax 5ca9da0e8d fix: update incorrect imports and fix README 2026-04-21 14:38:11 +05:30
Manoj Bajaj c34b81aff9 chore: Fix the readme to be agent first (#15) 2026-04-21 02:00:51 -07:00
Ankit Ranjan 1e4cf2c98e refactor: remove global --json flag support and update documentation … (#14)
* refactor: remove global --json flag support and update documentation to reflect CLI changes

* docs: simplify and condense README content with a focused CLI reference
2026-04-21 01:57:55 -07:00
Manoj Bajaj 94e090beaf docs: rewrite README with agent-first positioning and badges
Reframes authsome as local OAuth2/API key management for agents — not a
secret manager. Adds PyPI/license/downloads badges, clearer tagline,
problem statement, why-authsome comparison table, full provider list, and
a technical deep dive section.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 13:56:12 +05:30
beubax 8ca148be54 refactor: remove profile management functionality from CLI and core logic 2026-04-20 14:14:11 +05:30
beubax 5724f3cd07 feat: implement CLI with full command set 2026-04-17 12:43:43 +05:30
beubax 3c980b4b60 feat: implement initial version of core auth framework 2026-04-16 17:32:22 +05:30