{"id":15780521,"url":"https://github.com/rjshrjndrn/oauth2-proxy","last_synced_at":"2025-03-31T16:35:34.064Z","repository":{"id":78955132,"uuid":"149873113","full_name":"rjshrjndrn/oauth2-proxy","owner":"rjshrjndrn","description":"Minimal oauth2-proxy","archived":false,"fork":false,"pushed_at":"2018-09-23T20:04:03.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T12:07:11.254Z","etag":null,"topics":["docker-image","oauth2"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/rjshrjndrn.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-09-22T12:03:35.000Z","updated_at":"2018-09-23T20:04:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"db805ecc-cc43-445f-ba93-28f58516c752","html_url":"https://github.com/rjshrjndrn/oauth2-proxy","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/rjshrjndrn%2Foauth2-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjshrjndrn%2Foauth2-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjshrjndrn%2Foauth2-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjshrjndrn%2Foauth2-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rjshrjndrn","download_url":"https://codeload.github.com/rjshrjndrn/oauth2-proxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246498612,"owners_count":20787349,"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":["docker-image","oauth2"],"created_at":"2024-10-04T19:00:20.745Z","updated_at":"2025-03-31T16:35:34.044Z","avatar_url":"https://github.com/rjshrjndrn.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Minimal oauth2_proxy Docker Image (13MB, 4MB compressed)\n\nVersion v2.2 – built on [centurylink/ca-certs](https://github.com/CenturyLinkLabs/ca-certs-base-image).\n\n## Install\n\nAs a prerequisite, you need [Docker](https://docker.com) to be installed.\n\nTo download this image from the public registry:\n\n```shell\n$ docker pull rjshrjndrn/oauth2-proxy\n```\n\nTo re-build this image:\n\n```shell\n$ make build\n```\n\n## Configuration\n\n`oauth2_proxy` can be configured via [config file](https://github.com/bitly/oauth2_proxy#config-file), [command line options](https://github.com/bitly/oauth2_proxy#command-line-options) or [environment variables](https://github.com/bitly/oauth2_proxy#environment-variables). See [`bitly/oauth2_proxy` documentation](https://github.com/bitly/oauth2_proxy) for more details.\n\n## Usage\n\nAs standalone container:\n\n```shell\n$ docker run \\\n    -p 8080:4180 \\\n    -e OAUTH2_PROXY_CLIENT_ID=\"YOUR_CLIENT_ID\" \\\n    -e OAUTH2_PROXY_CLIENT_SECRET=\"YOUR_CLIENT_SECRET\" \\\n    -e OAUTH2_PROXY_COOKIE_SECRET=\"COOKIE_SECRET\" \\\n    rjshrjndrn/oauth2-proxy:2.2 \\\n    -cookie-secure=false \\\n    -upstream=http://web:3000 \\\n    -redirect-url=http://127.0.0.1:8080 \\\n    -http-address=0.0.0.0:4180 \\\n    -email-domain=example.com\n```\n\nAs `docker-compose` service:\n\n```yml\nversion: '2'\n\nservices:\n  web:\n    image: web-image\n    expose:\n      - 3000\n\n  proxy:\n    image: rjshrjndrn/oauth2-proxy:2.2\n    environment:\n      OAUTH2_PROXY_CLIENT_ID: \"YOUR_CLIENT_ID\"\n      OAUTH2_PROXY_CLIENT_SECRET: \"YOUR_CLIENT_SECRET\"\n      OAUTH2_PROXY_COOKIE_SECRET: \"COOKIE_SECRET\"\n    ports:\n      - 8080:4180\n    command: |\n      -cookie-secure=false\n      -upstream=http://web:3000\n      -redirect-url=http://127.0.0.1:8080\n      -http-address=0.0.0.0:4180\n      -email-domain=example.com\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frjshrjndrn%2Foauth2-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frjshrjndrn%2Foauth2-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frjshrjndrn%2Foauth2-proxy/lists"}