{"id":20385109,"url":"https://github.com/poad/github-cognito-oidc-proxy","last_synced_at":"2025-10-14T11:39:41.622Z","repository":{"id":58342291,"uuid":"530846240","full_name":"poad/github-cognito-oidc-proxy","owner":"poad","description":null,"archived":false,"fork":false,"pushed_at":"2025-10-08T00:39:31.000Z","size":13851,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-08T02:30:54.876Z","etag":null,"topics":["api-gateway","apigateway","aws","aws-cognito","awscognito","github","github-oauth2","openid-connect","openid-provider","openidconnect"],"latest_commit_sha":null,"homepage":"https://d1czax7fq488gs.cloudfront.net/","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/poad.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":"2022-08-30T22:01:29.000Z","updated_at":"2025-10-08T00:39:34.000Z","dependencies_parsed_at":"2024-02-05T07:46:52.208Z","dependency_job_id":"ea3fad9f-2219-4f32-80b7-14b91551295b","html_url":"https://github.com/poad/github-cognito-oidc-proxy","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/poad/github-cognito-oidc-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poad%2Fgithub-cognito-oidc-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poad%2Fgithub-cognito-oidc-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poad%2Fgithub-cognito-oidc-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poad%2Fgithub-cognito-oidc-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/poad","download_url":"https://codeload.github.com/poad/github-cognito-oidc-proxy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poad%2Fgithub-cognito-oidc-proxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019060,"owners_count":26086517,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"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":["api-gateway","apigateway","aws","aws-cognito","awscognito","github","github-oauth2","openid-connect","openid-provider","openidconnect"],"created_at":"2024-11-15T02:32:28.642Z","updated_at":"2025-10-14T11:39:41.596Z","avatar_url":"https://github.com/poad.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub OAuth 2.0 OpenID Connect Proxy for AWS Cognito\n\n\u003cp align='center'\u003e\n\n  [![Build and Test](https://github.com/poad/github-cognito-oidc-proxy/actions/workflows/ci.yml/badge.svg)](https://github.com/poad/github-cognito-oidc-proxy/actions/workflows/ci.yml)\n  [![Deploy](https://github.com/poad/github-cognito-oidc-proxy/actions/workflows/deploy.yml/badge.svg)](https://github.com/poad/github-cognito-oidc-proxy/actions/workflows/deploy.yml)\n  \n\u003c/p\u003e\n\nConnect to AWS Cognito using API Gateway and Lambda Function as a proxy for GitHub OAuth applications and as an Identity Provider via OpenID Connect.\n\n## How to use?\n\n### requirement\n\n- Node.js 18+\n- AWS CDK\n- pnpm 8.7.4+\n\n### Deploy AWS Resources\n\n```sh\ncd package\npnpm install\ncdk deploy\n```\n\n#### context parameter\n\n| key | description | require |\n|:----|:------------|:--------|\n| env | The CloudFormation Sack to be built and the prefix name to be set for the AWS resource. | No |\n\n### Configure the AWS Cognito user pool\n\nNow that API Gateway v1 (Rest API) is built, set the GitHub OAuth application and API Gateway endpoint to \"Federated identity provider sign-in\" in the Cognito user pool.\n\n\u003chttps://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-oidc-idp.html\u003e\n\n| Name | Description of the value to be set |\n| Client ID | A client ID of Your GitHub OAuth 2.0 application. |\n| Client secret | A client secret of Your GitHub OAuth 2.0 application. |\n| Authorized scopes | `openid read:user user:email` |\n| Attribute request method | GET |\n| Setup method | Auto fill through issuer URL |\n| Issuer URL | The endpoint URL for the `default` stage of your API Gateway. |\n\n#### Issuer URL\n\nThe stage name of the deployed API Gateway is default.\n\nThe value to be set for the Issue URL is as follows:\n\n\u003chttps://~{API\u003e ID}~.execute-api.~{AWS Region}~.amazonaws.com/default\n\n### Attributes Mapping\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoad%2Fgithub-cognito-oidc-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpoad%2Fgithub-cognito-oidc-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoad%2Fgithub-cognito-oidc-proxy/lists"}