Skip to content

Commit c6aa44a

Browse files
committed
Making the Mercure key longer to satisfy JWT key requirements
1 parent dd07ad6 commit c6aa44a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ux.symfony.com/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ MERCURE_URL=https://ux.symfony.com/.well-known/mercure
2525
# The public URL of the Mercure hub, used by the browser to connect
2626
MERCURE_PUBLIC_URL=https://ux.symfony.com/.well-known/mercure
2727
# The secret used to sign the JWTs
28-
MERCURE_JWT_SECRET="!ChangeMe!"
28+
MERCURE_JWT_SECRET="!ChangeMe!+MAKE_THE_KEY_LONG_ENOUGH"
2929
###< symfony/mercure-bundle ###
3030

3131
###> doctrine/doctrine-bundle ###

ux.symfony.com/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ services:
77
restart: unless-stopped
88
environment:
99
SERVER_NAME: ':80'
10-
MERCURE_PUBLISHER_JWT_KEY: '!ChangeMe!'
11-
MERCURE_SUBSCRIBER_JWT_KEY: '!ChangeMe!'
10+
MERCURE_PUBLISHER_JWT_KEY: '!ChangeMe!+MAKE_THE_KEY_LONG_ENOUGH'
11+
MERCURE_SUBSCRIBER_JWT_KEY: '!ChangeMe!+MAKE_THE_KEY_LONG_ENOUGH'
1212
# Set the URL of your Symfony project (without trailing slash!) as value of the cors_origins directive
1313
MERCURE_EXTRA_DIRECTIVES: |
1414
cors_origins https://127.0.0.1:9044

0 commit comments

Comments
 (0)