Minimal OAuth 2.0 Client
Overview
A dependency-light OAuth 2.0 https://www.rfc-editor.org/rfc/rfc6749 client supporting the client-credentials and authorization-code grants with token refresh. Built on 'curl' and 'jsonlite', with base R's socket server for the redirect listener, avoiding heavier HTTP stacks.
- New Anthropic Claude (Claude Code) login route:
anthropic_claude_client()andoauth_token_anthropic(). An OAuth 2.0 authorization-code grant with client-generated PKCE (S256) against Anthropic's public Claude Code client, using the manual-paste flow (Claude's callback page displays the code). Verified end to end against a live Claude subscription. Addsdigestto Imports for the S256 challenge.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK7 OK2026-06-18
Documentation
- Help pages
- 45 (27 internal)includes a package overview page
- Examples that run
- 36%5 run in a plain check · 9 never run
- Exported functions with examples
- 78%
- Documented parameters
- 97%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 91%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
PRs over time
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/cornball-ai/tinyoauth on 2026-10-21.
Dependencies
Installing tinyoauth adds 3 packages (3 with compiled code, 1.9 MB of source tarballs). Heaviest: jsonlite 1.0 MB, curl 714 KB, digest 231 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.1.1Latest2026-06-24 · current release · diff ↗ ·
added 2 exports
anthropic_claude_client, oauth_token_anthropic - 0.1.02026-06-17
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-06-17
- Total releases
- 2 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.0
- Download size
- 34 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("tinyoauth")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.