Increase length of JWT secret to avoid errors in lcobucci/jwt ^4.2 (#1124)

* Increase length of JWT secret to avoid errors in lcobucci/jwt ^4.2

* Change secret to match patched Mercure version 0.14.1

| Q             | A
| ------------- | ---
| License       | MIT
| Doc issue/PR  | n/a
This commit is contained in:
Daniel West
2022-09-14 17:11:34 +02:00
committed by GitHub
parent f5c05df7d0
commit b603770240
+3 -3
View File
@@ -12,7 +12,7 @@
"#3": "The public URL of the Mercure hub, used by the browser to connect",
"MERCURE_PUBLIC_URL": "https://example.com/.well-known/mercure",
"#4": "The secret used to sign the JWTs",
"MERCURE_JWT_SECRET": "!ChangeMe!"
"MERCURE_JWT_SECRET": "!ChangeThisMercureHubJWTSecretKey!"
},
"docker-compose": {
"docker-compose.yml": {
@@ -22,8 +22,8 @@
" restart: unless-stopped",
" environment:",
" SERVER_NAME: ':80'",
" MERCURE_PUBLISHER_JWT_KEY: '!ChangeMe!'",
" MERCURE_SUBSCRIBER_JWT_KEY: '!ChangeMe!'",
" MERCURE_PUBLISHER_JWT_KEY: '!ChangeThisMercureHubJWTSecretKey!'",
" MERCURE_SUBSCRIBER_JWT_KEY: '!ChangeThisMercureHubJWTSecretKey!'",
" # Set the URL of your Symfony project (without trailing slash!) as value of the cors_origins directive",
" MERCURE_EXTRA_DIRECTIVES: |",
" cors_origins http://127.0.0.1:8000",