Skip to content

Commit

Permalink
Merge pull request bitly#425 from bluecmd/patch-3
Browse files Browse the repository at this point in the history
Update cookie generation to match base64 encoding
  • Loading branch information
jehiah authored Aug 29, 2017
2 parents 3c51c91 + f4321c4 commit 79fff53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ 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))'`
To generate a strong cookie secret use `python -c 'import os,base64; print base64.urlsafe_b64encode(os.urandom(16))'`

### Config File

Expand Down

0 comments on commit 79fff53

Please sign in to comment.