{"id":20053590,"url":"https://github.com/lpabon/oidc-gen-token","last_synced_at":"2026-05-01T03:35:45.598Z","repository":{"id":57520479,"uuid":"135386748","full_name":"lpabon/oidc-gen-token","owner":"lpabon","description":"Command line program to get a token from an OpenID Connect issuer","archived":false,"fork":false,"pushed_at":"2023-08-03T16:02:02.000Z","size":306,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-12T21:24:47.421Z","etag":null,"topics":["auth0","authentication","golang","jwt","oidc","openid","openid-connect"],"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/lpabon.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}},"created_at":"2018-05-30T04:10:31.000Z","updated_at":"2023-08-03T15:58:18.000Z","dependencies_parsed_at":"2024-06-20T16:41:40.063Z","dependency_job_id":null,"html_url":"https://github.com/lpabon/oidc-gen-token","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/lpabon%2Foidc-gen-token","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpabon%2Foidc-gen-token/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpabon%2Foidc-gen-token/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpabon%2Foidc-gen-token/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lpabon","download_url":"https://codeload.github.com/lpabon/oidc-gen-token/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241482100,"owners_count":19969850,"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":["auth0","authentication","golang","jwt","oidc","openid","openid-connect"],"created_at":"2024-11-13T12:27:27.276Z","updated_at":"2026-05-01T03:35:40.561Z","avatar_url":"https://github.com/lpabon.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oidc-gen-token\nThis simple program is used to generate an OpenID JWT Token from the command\nline and if requested, saved to a file.\n\nThis is program is heavily based on the examples from [go-oidc](https://github.com/coreos/go-oidc).\n\n# Installation\n\n```\ngo install github.com/lpabon/oidc-gen-token\n```\n\n# Usage\n\nHere is a sample usage:\n\n```\n$ oidc-gen-token --client-id=\u003c...\u003e \\\n    --client-secret=\u003c...\u003e \\\n    --issuer=https://accounts.google.com \\\n    --save-token\n```\n\n# Provider\nYou will also need to setup an OpenID Connect provider. Here are a few examples:\n\n## Google\nFollow the examples from [go-oidc/examples](https://github.com/coreos/go-oidc/tree/v2/example#examples)\n\n## Auth0.com\n* Create an application\n    * Note down the client id and secret\n\t* Setup the callback URL to `http://127.0.0.1:5556/auth/callback`.\n    * You will also need to click on _Advanced Settings_ at the bottom of the\n\t  application setup page and then click on _OAuth_. Lastly, enable\n\t  _OIDC Conformant_.\n    * Save the application\n* Click on Users, and create a sample user.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flpabon%2Foidc-gen-token","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flpabon%2Foidc-gen-token","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flpabon%2Foidc-gen-token/lists"}