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:
parent
4ed564901e
commit
b999c41a5a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user