{"id":15181270,"url":"https://github.com/firebase/chef-google_auth_proxy","last_synced_at":"2025-10-01T22:31:44.406Z","repository":{"id":33961064,"uuid":"37693044","full_name":"firebase/chef-google_auth_proxy","owner":"firebase","description":"Chef Provider for Google Auth Proxy","archived":true,"fork":true,"pushed_at":"2015-06-19T00:48:11.000Z","size":123,"stargazers_count":3,"open_issues_count":0,"forks_count":13,"subscribers_count":60,"default_branch":"master","last_synced_at":"2024-09-28T17:01:36.228Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://word.bitly.com/post/47548678256/google-auth-proxy","language":"Ruby","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"klamontagne/chef-google_auth_proxy","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/firebase.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}},"created_at":"2015-06-19T00:34:35.000Z","updated_at":"2023-01-28T00:44:30.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/firebase/chef-google_auth_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/firebase%2Fchef-google_auth_proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firebase%2Fchef-google_auth_proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firebase%2Fchef-google_auth_proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firebase%2Fchef-google_auth_proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/firebase","download_url":"https://codeload.github.com/firebase/chef-google_auth_proxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234909083,"owners_count":18905503,"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":[],"created_at":"2024-09-27T17:00:35.283Z","updated_at":"2025-10-01T22:31:44.091Z","avatar_url":"https://github.com/firebase.png","language":"Ruby","readme":"Forked by mtse@google.com of the Firebase team to run correctly on CentOS with Berkshelf cookbook manager.\n----------------------------------------------------------------------------------------------------------\n\ngoogle_auth_proxy Cookbook\n==========================\n\nThis cookbook sets up a [Google Auth Proxy](https://github.com/bitly/google_auth_proxy) instance provider.\n\nDependencies\n------------\n\nThis cookbook requires `golang` (for source installs only) and **must have Go version 1.1.1+**\n\nIt only supports Upstart as a service provider at the moment.\n\nHow to use the provider\n-----------------------\n```ruby\n# Proxy definition example\n# Get your own keys at https://code.google.com/apis/console\ngoogle_auth_proxy_install \"my-app\" do\n  client_id \"123456.apps.googleusercontent.com\"\n  client_secret \"my_secret\"\n  google_apps_domains [\"mycompany.com\"] # Restrict login to a set of Google apps domains\n  cookie_domain \"my-app.mycompany.com\"\n  redirect_url \"http://my-app.mycompany.com/oauth2/callback\"\n  listen_address \"127.0.0.1:4180\"\n  upstreams [\"http://127.0.0.1:4181/\"]\nend\n```\n\nThe cookie secret will be stored as a node attribute, one for each resource name, under `[:google_auth][:cookie_secret]`.\n\nAn Upstart service for the proxy will be created as `google_auth_proxy_my-app`.\n\nnginx example vhost config\n--------------------\n\nFor more details, see the README of [Google Auth Proxy](https://github.com/bitly/google_auth_proxy).\n\n```\n# Send everything through the Google Auth Proxy\nserver {\n    listen 0.0.0.0:80;\n\n    server_name           my-app.mycompany.com;\n    access_log            /var/log/nginx/my-app.mycompany.com.access.log;\n\n    location / {\n        proxy_pass http://127.0.0.1:4180;\n        proxy_set_header Host $host;\n        proxy_set_header X-Real-IP $remote_addr;\n        proxy_set_header X-Scheme $scheme;\n        proxy_connect_timeout 1;\n        proxy_send_timeout 30;\n        proxy_read_timeout 30;\n    }\n}\n\n# The actual service\nserver {\n  listen                127.0.0.1:4181;\n\n  location / {\n    root  /var/www;\n    index  index.html  index.htm; \n  }\n```\n\n\nLicense and Authors\n-------------------\nAuthors: De Marque Inc.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirebase%2Fchef-google_auth_proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffirebase%2Fchef-google_auth_proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirebase%2Fchef-google_auth_proxy/lists"}