Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

Commit

Permalink
cookie secret: give helper command for generating a secret
Browse files Browse the repository at this point in the history
  • Loading branch information
jehiah committed Jun 23, 2016
1 parent 3bba24a commit 671f00e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 671f00e

Please sign in to comment.