{"id":18035904,"url":"https://github.com/candlerb/openidc-cli","last_synced_at":"2025-04-04T23:25:46.086Z","repository":{"id":66668224,"uuid":"265864777","full_name":"candlerb/openidc-cli","owner":"candlerb","description":"Minimal command-line client to show verifying identity with OIDC in go","archived":false,"fork":false,"pushed_at":"2020-05-22T10:17:57.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-04-13T13:47:08.102Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/candlerb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2020-05-21T14:07:51.000Z","updated_at":"2024-06-19T10:20:01.332Z","dependencies_parsed_at":"2023-04-25T13:47:51.310Z","dependency_job_id":null,"html_url":"https://github.com/candlerb/openidc-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/candlerb%2Fopenidc-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/candlerb%2Fopenidc-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/candlerb%2Fopenidc-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/candlerb%2Fopenidc-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/candlerb","download_url":"https://codeload.github.com/candlerb/openidc-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247264052,"owners_count":20910516,"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":[],"created_at":"2024-10-30T12:10:43.281Z","updated_at":"2025-04-04T23:25:46.064Z","avatar_url":"https://github.com/candlerb.png","language":"Go","readme":"# OpenIDC CLI demonstrator\n\nThis is a demonstrator of using OpenIDC to verify identity, i.e. as a\nRelying Party (RP), using just the command line.\n\nConfigure `settings.yaml`: at minimum it needs the `issuer`, `client_id`,\n`client_secret`.\n\nRun the tool:\n\n```\n./openidc-cli\n```\n\nIt will show a URL for you to put in your browser.  Once you have identified\nyourself to your identity provider, it will give you a sign-in code.\n\nPaste this code back into the CLI.  It will then exchange this for an ID\ntoken at your identity provider, and show the results.  (This is the only\npart which uses the client secret)\n\n## Configuration: Google\n\nOAuth client IDs are created at\n\u003chttps://console.developers.google.com/apis/credentials/oauthclient\u003e\n\nWhen the identity provider is asked to provide a pasteable code, the\nredirect_url is set to the well-known value `urn:ietf:wg:oauth:2.0:oob`\n\nFor this to work with Google, you should create your OAuth2 client as\ntype \"Desktop App\" rather than \"Web application\".\n\n## Configuration: Dex\n\nYou can allow the well-known URN explicitly:\n\n```\n- id: openidc-cli\n  redirectURIs:\n  - urn:ietf:wg:oauth:2.0:oob\n  name: 'OpenIDC CLI'\n  secret: ZXhhbXBsZS1hcHAtc2VjcmV0\n```\n\nOr you can set `public: true` which permits the well-known value plus any\n`http://localhost` URL.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcandlerb%2Fopenidc-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcandlerb%2Fopenidc-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcandlerb%2Fopenidc-cli/lists"}