This cookbook is a fork of the cookbook in the supermarket (https://github.com/reverseskate/cookbook-oauth2_proxy)
It enables a version of oauth2-proxy compatible with github teams and add some flags you can enable with LWRP
- skip-provider-button
- set_xauthrequest
- skip-auth-regex
- pass_roles_header
Cookbook to install and configure oauth2_proxy with LWRP
- ark
- pleaserun
- Ubuntu 14.04 LTS
- Ubuntu 16.04 LTS
- CentOS 7.2
oauth2_proxy Cookbook utilizes a lightweight resource provider (LWRP) to handle installing oauth2_proxy, generate an oauth2_proxy config, and install a service for oauth2_proxy.
oauth2_proxy_site 'default' do
auth_provider 'google'
client_id 'foo'
client_secret 'biscuit'
cookie_secret 'stroopwafel'
upstreams [ 'http://localhost' ]
end
| Attribute | Description |
|---|---|
default['oauth2_proxy']['install_url'] |
URL of release to download and install |
default['oauth2_proxy']['checksum'] |
Checksum of release |
default['oauth2_proxy']['install_path'] |
Path of where to install binaries |
default['oauth2_proxy']['config_files'] |
Location to store config_files |
Install oauth2 proxy from sources and apply a patch to enable github teams management
Only installs oauth2_proxy with no configuration.
No-op.
- Author: Mike Juarez
- Maintainer: Michael F. Weinberg
Copyright 2015 Orion Labs, Inc. Copyright 2016 Michael F. Weinberg
- The oauth2_proxy Cookbook is covered under the Apache License, Version 2.0
- The oauth2_proxy program is covered under the MIT license.
See LICENSE for the Apache License, Version 2.0