{"id":15476193,"url":"https://github.com/lesnitsky/cognito-github-oidc","last_synced_at":"2025-07-03T12:04:51.391Z","repository":{"id":85541609,"uuid":"313649877","full_name":"lesnitsky/cognito-github-oidc","owner":"lesnitsky","description":"GitHub OAuth openid shim for AWS Cognito","archived":false,"fork":false,"pushed_at":"2020-11-23T16:27:37.000Z","size":48,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-22T14:11:37.352Z","etag":null,"topics":["cognito","github","serverless"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lesnitsky.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":"2020-11-17T14:46:54.000Z","updated_at":"2022-05-17T11:25:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"8eabe275-24b4-4c90-ae80-b1be4b50b6ee","html_url":"https://github.com/lesnitsky/cognito-github-oidc","commit_stats":{"total_commits":18,"total_committers":1,"mean_commits":18.0,"dds":0.0,"last_synced_commit":"322ee17d65a1a301d543bfff6ec2cb7e9e990222"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lesnitsky/cognito-github-oidc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lesnitsky%2Fcognito-github-oidc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lesnitsky%2Fcognito-github-oidc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lesnitsky%2Fcognito-github-oidc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lesnitsky%2Fcognito-github-oidc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lesnitsky","download_url":"https://codeload.github.com/lesnitsky/cognito-github-oidc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lesnitsky%2Fcognito-github-oidc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263322786,"owners_count":23448712,"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":["cognito","github","serverless"],"created_at":"2024-10-02T03:23:36.017Z","updated_at":"2025-07-03T12:04:51.369Z","avatar_url":"https://github.com/lesnitsky.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cognito Github OpenID\n\nGitHub OAuth openid shim for AWS Cognito\n\n## Getting Started\n\n### Generate certificate\n\n```\n./scripts/certificate.sh\n```\n\n### Deploy the API\n\n```\nsls deploy\n```\n\n### Create Cognito user pool\n\n- Create user pool\n- Go to `Federation \u003e Identity providers`\n- Choose `OpenID Connect`\n- Fill the form\n  - Provider name: `cognito-github-openid` (or any other)\n  - Client id: copy from github oauth application\n  - Client secert: copy from github oauth application\n  - Authorize scope: `openid read:user [...any other github scopes]`\n  - Issuer: `\u003cAPI Gateway URL\u003e`\n  - Click `Show oidc endpoints`\n  - Authorization endpoint: `\u003cAPI GW URL\u003e/:stage/authorize`\n  - Token endpoint: `\u003cAPI GW URL\u003e/:stage/token`\n  - Userinfo endpoint: `\u003cAPI GW URL\u003e/:stage/userinfo`\n  - Jwks uri: `\u003cAPI GW URL\u003e/:stage/jwks`\n\n## Contributors\n\n- [Andrei Lesnitsky](https://github.com/lesnitsky)\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flesnitsky%2Fcognito-github-oidc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flesnitsky%2Fcognito-github-oidc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flesnitsky%2Fcognito-github-oidc/lists"}