@@ -17,7 +17,7 @@ to validate accounts by email, domain or group.
1717
1818## Installation
1919
20−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`
20+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`
21212. Select a Provider and Register an OAuth Application with a Provider
22223. Configure OAuth2 Proxy using config file, command line options, or environment variables
23234. 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
149149
150150`oauth2_proxy` can be configured via [config file](#config-file), [command line options](#command-line-options) or [environment variables](#environment-variables).
151151
152+To generate a strong cookie secret use `python -c 'import os,base64; print base64.b64encode(os.urandom(16))'`
153+
152154### Config File
153155
154156An 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`