docs: update docs about jwt_secret_key

pull/12813/head
Matthias 1 week ago
parent 04d2ea8773
commit 6a242356a0

@ -15,7 +15,7 @@ Assuming your application is deployed as `https://frequi.freqtrade.io/home/` - t
```jsonc ```jsonc
{ {
//... //...
"jwt_secret_key": "somethingrandom", "jwt_secret_key": "somethingRandomSomethingRandom123",
"CORS_origins": ["https://frequi.freqtrade.io"], "CORS_origins": ["https://frequi.freqtrade.io"],
//... //...
} }
@ -29,7 +29,7 @@ The correct configuration for this case is `http://localhost:8080` - the main pa
```jsonc ```jsonc
{ {
//... //...
"jwt_secret_key": "somethingrandom", "jwt_secret_key": "somethingRandomSomethingRandom123",
"CORS_origins": ["http://localhost:8080"], "CORS_origins": ["http://localhost:8080"],
//... //...
} }

@ -17,7 +17,7 @@ Sample configuration:
"listen_port": 8080, "listen_port": 8080,
"verbosity": "error", "verbosity": "error",
"enable_openapi": false, "enable_openapi": false,
"jwt_secret_key": "somethingrandom", "jwt_secret_key": "somethingRandomSomethingRandom123",
"CORS_origins": [], "CORS_origins": [],
"username": "Freqtrader", "username": "Freqtrader",
"password": "SuperSecret1!", "password": "SuperSecret1!",
@ -56,7 +56,7 @@ secrets.token_hex()
!!! Danger "Password selection" !!! Danger "Password selection"
Please make sure to select a very strong, unique password to protect your bot from unauthorized access. Please make sure to select a very strong, unique password to protect your bot from unauthorized access.
Also change `jwt_secret_key` to something random (no need to remember this, but it'll be used to encrypt your session, so it better be something unique!). Also change `jwt_secret_key` to something random (no need to remember this, but it'll be used to encrypt your session, so it better be something unique!). This value should also be 32 characters or longer to be safe.
### Configuration with docker ### Configuration with docker
@ -245,7 +245,7 @@ You would then add that token under `ws_token` in your `api_server` config. Like
"listen_port": 8080, "listen_port": 8080,
"verbosity": "error", "verbosity": "error",
"enable_openapi": false, "enable_openapi": false,
"jwt_secret_key": "somethingrandom", "jwt_secret_key": "somethingRandomSomethingRandom123",
"CORS_origins": [], "CORS_origins": [],
"username": "Freqtrader", "username": "Freqtrader",
"password": "SuperSecret1!", "password": "SuperSecret1!",

Loading…
Cancel
Save