{"id":15294801,"url":"https://github.com/seakayone/go-oauth2-cli","last_synced_at":"2025-03-24T17:43:28.862Z","repository":{"id":53843354,"uuid":"145212321","full_name":"seakayone/go-oauth2-cli","owner":"seakayone","description":"Simple OAuth2 command line client written in Go (golang)","archived":false,"fork":false,"pushed_at":"2019-12-10T22:49:04.000Z","size":14,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-20T16:48:40.221Z","etag":null,"topics":["go","golang","oauth2","oauth2-client"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/seakayone.png","metadata":{"files":{"readme":"README.adoc","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}},"created_at":"2018-08-18T10:50:20.000Z","updated_at":"2024-01-15T02:56:55.000Z","dependencies_parsed_at":"2022-08-23T07:40:43.097Z","dependency_job_id":null,"html_url":"https://github.com/seakayone/go-oauth2-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seakayone%2Fgo-oauth2-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seakayone%2Fgo-oauth2-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seakayone%2Fgo-oauth2-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seakayone%2Fgo-oauth2-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seakayone","download_url":"https://codeload.github.com/seakayone/go-oauth2-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245319966,"owners_count":20596078,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["go","golang","oauth2","oauth2-client"],"created_at":"2024-09-30T17:07:03.096Z","updated_at":"2025-03-24T17:43:28.838Z","avatar_url":"https://github.com/seakayone.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"image:https://travis-ci.org/seakayone/go-oauth2-cli.svg?branch=master[\"Build Status\", link=\"https://travis-ci.org/seakayone/go-oauth2-cli\"]\nimage:https://goreportcard.com/badge/github.com/seakayone/go-oauth2-cli[\"Go Report\", link=\"https://goreportcard.com/report/github.com/seakayone/go-oauth2-cli\"]\n\n= OAuth2 Command Line Client\n\nSimple cli command currently supporting https://tools.ietf.org/html/rfc6749[OAuth2] grant types `client_credentials` and `password`.\n\n= Usage\n\n```\n$ oauth2-cli -h\n\nUsage of oauth2-cli:\n\noauth2-cli [opts]\n\n\toauth2-cli retrieves an OAuth2 access token using client or password grant\n\n  -cid string\n    \tclient id (default \"foo\")\n  -cpw string\n    \tclient secret (default \"bar\")\n  -host string\n    \tauthorization server url (default \"http://localhost:9094/token\")\n  -typ string\n    \tgrant type, can be client_credentials or password (default \"client_credentials\")\n  -uid string\n    \tend user id (default \"fizz\")\n  -upw string\n    \tend user secret (default \"buzz\")\n```\n\n= Installation\n\nInstall https://golang.org/[Go]\n\nInstall the binary into your current directory:\n\n  GOBIN=$(pwd) GOPATH=$(mktemp -d) go get github.com/seakayone/go-oauth2-cli\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseakayone%2Fgo-oauth2-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseakayone%2Fgo-oauth2-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseakayone%2Fgo-oauth2-cli/lists"}