{"id":19230598,"url":"https://github.com/ctron/oidc-cli","last_synced_at":"2026-06-17T22:31:17.569Z","repository":{"id":227470933,"uuid":"771541996","full_name":"ctron/oidc-cli","owner":"ctron","description":"A command line tool to work with OIDC tokens","archived":false,"fork":false,"pushed_at":"2026-05-07T07:08:59.000Z","size":369,"stargazers_count":35,"open_issues_count":2,"forks_count":7,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-07T09:14:30.605Z","etag":null,"topics":["cli","oidc"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ctron.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-13T13:46:05.000Z","updated_at":"2026-05-07T07:09:02.000Z","dependencies_parsed_at":"2024-04-23T21:21:19.368Z","dependency_job_id":"463986e9-5ef9-428b-a516-63696b77a136","html_url":"https://github.com/ctron/oidc-cli","commit_stats":null,"previous_names":["ctron/oidc-cli"],"tags_count":33,"template":false,"template_full_name":null,"purl":"pkg:github/ctron/oidc-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctron%2Foidc-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctron%2Foidc-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctron%2Foidc-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctron%2Foidc-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ctron","download_url":"https://codeload.github.com/ctron/oidc-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctron%2Foidc-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34468766,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","oidc"],"created_at":"2024-11-09T15:39:53.288Z","updated_at":"2026-06-17T22:31:17.564Z","avatar_url":"https://github.com/ctron.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OIDC CLI\n\n[![crates.io](https://img.shields.io/crates/v/oidc-cli.svg)](https://crates.io/crates/oidc-cli)\n[![GitHub release (latest SemVer)](https://img.shields.io/github/v/tag/ctron/oidc-cli?sort=semver)](https://github.com/ctron/oidc-cli/releases)\n[![CI](https://github.com/ctron/oidc-cli/actions/workflows/ci.yaml/badge.svg)](https://github.com/ctron/oidc-cli/actions/workflows/ci.yaml)\n\n\u003e A command line tool for working with OIDC\n\n## Installation\n\n* Download a released binary: https://github.com/ctron/oidc-cli/releases\n\n* From source with `cargo`:\n\n  ```bash\n  cargo install oidc-cli\n  ```\n\n* A binary with `cargo-binstall`:\n\n  ```bash\n  cargo binstall oidc-cli\n  ```\n\n* On Windows, you can use `winget`:\n\n  ```commandline\n  winget install ctron.oidc\n  ```\n\n* With `brew` to you can:\n\n  ```bash\n  brew tap ctron/tap\n  brew install ctron/tap/oidc\n  ```\n\n* With `snap` you can:\n\n  ```bash\n  snap install oidc\n  ```\n\n## Example\n\nCreating a new (confidential) client:\n\n```bash\noidc create confidential my-client --issuer https://example.com/realm --client-id foo --client-secret bar\n```\n\nCreating a new (public) client:\n\n```bash\noidc create public my-client --issuer https://example.com/realm --client-id foo\n```\n\nThen, get an access token:\n\n```bash\noidc token my-client\n```\n\nOr combine it with e.g., HTTPie:\n\n```bash\nhttp example.com/api \"Authorization:$(oidc token my-client --bearer)\"\n```\n\nOr even shorter:\n\n```bash\nhttp example.com/api $(oidc token -H my-client)\n```\n\nThis also works with `curl`:\n\n```bash\ncurl http://example.com/api -H $(oidc token -H my-client)\n```\n\n## More examples\n\nCreate a public client from an initial refresh token. This can be useful if you have a frontend application, but no\nmeans\nof performing the authorization code flow with a local server. In case you have access to the refresh token, e.g via\nthe browsers developer console, you can initialize the public client with that:\n\n```bash\noidc create public my-client --issuer https://example.com/realm --client-id foo --refresh-token \u003crefresh-token\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctron%2Foidc-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctron%2Foidc-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctron%2Foidc-cli/lists"}