{"id":18392516,"url":"https://github.com/marwan-at-work/authproxy","last_synced_at":"2025-08-09T00:04:31.268Z","repository":{"id":86577414,"uuid":"177704977","full_name":"marwan-at-work/authproxy","owner":"marwan-at-work","description":"A reverse proxy that appends Google ID Tokens","archived":false,"fork":false,"pushed_at":"2019-04-09T23:16:53.000Z","size":3,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T03:35:33.682Z","etag":null,"topics":["auth","go","golang","google","proxy"],"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/marwan-at-work.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":"2019-03-26T03:04:24.000Z","updated_at":"2019-06-24T12:18:44.000Z","dependencies_parsed_at":"2023-03-02T21:30:21.646Z","dependency_job_id":null,"html_url":"https://github.com/marwan-at-work/authproxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marwan-at-work/authproxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marwan-at-work%2Fauthproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marwan-at-work%2Fauthproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marwan-at-work%2Fauthproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marwan-at-work%2Fauthproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marwan-at-work","download_url":"https://codeload.github.com/marwan-at-work/authproxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marwan-at-work%2Fauthproxy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269508465,"owners_count":24428733,"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-08-08T02:00:09.200Z","response_time":72,"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":["auth","go","golang","google","proxy"],"created_at":"2024-11-06T01:57:07.790Z","updated_at":"2025-08-09T00:04:30.981Z","avatar_url":"https://github.com/marwan-at-work.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# authproxy\n\nPackage authproxy provides a reverse proxy that appends a Google ID Token to request headers. It also exposes a sub package that can be used as a server immediately.\n\n## Usage\n\n#### Docker\n\n`docker run -p 9090:9090 -e REVERSE_PROXY_URL=mySecureServer.com -e SERVICE_ACCOUNT_KEY=\u003cbase64-encoded-json-key\u003e marwan91/authproxy\"`\n\n#### Go \n\nYou can use the server directly as such\n\n```bash\n~ go install marwan.io/authproxy/cmd/authproxy\n~ export REVERSE_PROXY_URL=mySecureServer.com\n~ export SERVICE_ACCOUNT_KEY=\u003cbase64-encoded-json-key\u003e\n~ authproxy\n# listening on port :9090\n# you can set the PORT env if you want to user a port other than 9090\n```\n\nOr you can use it programtically: \n\n```bash\n~ go install marwan.io/authproxy\n```\n\n```golang\npackage main\n\nimport \"marwan.io/authproxy\"\n\nfunc main() {\n    handler, err := authproxy.GetProxyHandler(\"mySecureProxy.com\", \"base64EncodedKey\")\n    // handle err and use the proxy handler\n    // ...\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarwan-at-work%2Fauthproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarwan-at-work%2Fauthproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarwan-at-work%2Fauthproxy/lists"}