diff --git a/Godeps b/Godeps index b6bc08dd5..32bb159c6 100644 --- a/Godeps +++ b/Godeps @@ -1,7 +1,7 @@ github.com/18F/hmacauth 1.0.1 github.com/BurntSushi/toml 3883ac1ce943878302255f538fce319d23226223 github.com/bitly/go-simplejson 3378bdcb5cebedcbf8b5750edee28010f128fe24 -github.com/mreiferson/go-options ee94b57f2fbf116075426f853e5abbcdfeca8b3d +github.com/mreiferson/go-options 33795234b6f327f1be2d78a541893012362a4e06 github.com/bmizerany/assert e17e99893cb6509f428e1728281c2ad60a6b31e3 gopkg.in/fsnotify.v1 v1.2.0 golang.org/x/oauth2 397fe7649477ff2e8ced8fc0b2696f781e53745a diff --git a/README.md b/README.md index f33711f4a..9a0eb8257 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ to validate accounts by email, domain or group. ## Installation -1. Download [Prebuilt Binary](https://github.com/bitly/oauth2_proxy/releases) (current release is `v2.0.1`) or build with `$ go get github.com/bitly/oauth2_proxy` which will put the binary in `$GOROOT/bin` +1. Download [Prebuilt Binary](https://github.com/bitly/oauth2_proxy/releases) (current release is `v2.1`) or build with `$ go get github.com/bitly/oauth2_proxy` which will put the binary in `$GOROOT/bin` 2. Select a Provider and Register an OAuth Application with a Provider 3. Configure OAuth2 Proxy using config file, command line options, or environment variables 4. Configure SSL or Deploy behind a SSL endpoint (example provided for Nginx) @@ -149,6 +149,8 @@ To authorize by email domain use `--email-domain=yourcompany.com`. To authorize `oauth2_proxy` can be configured via [config file](#config-file), [command line options](#command-line-options) or [environment variables](#environment-variables). +To generate a strong cookie secret use `python -c 'import os,base64; print base64.b64encode(os.urandom(16))'` + ### Config File An example [oauth2_proxy.cfg](contrib/oauth2_proxy.cfg.example) config file is in the contrib directory. It can be used by specifying `-config=/etc/oauth2_proxy.cfg` diff --git a/version.go b/version.go index 200dacbc7..040efbd93 100644 --- a/version.go +++ b/version.go @@ -1,3 +1,3 @@ package main -const VERSION = "2.0.1" +const VERSION = "2.1"