1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-01-08 04:03:58 +02:00

docs/7.1.x/configuration: Use 32 bytes to generate secret

This commit is contained in:
Simon Hollenbach 2022-02-20 14:41:46 +01:00
parent 4ed564901e
commit b999c41a5a

View File

@ -7,7 +7,7 @@ title: Overview
### Generating a Cookie Secret
To generate a strong cookie secret use `python -c 'import os,base64; print(base64.urlsafe_b64encode(os.urandom(16)).decode())'`
To generate a strong cookie secret use `python -c 'import os,base64; print(base64.urlsafe_b64encode(os.urandom(32)).decode())'`
### Config File