Skip to content

Commit daf7067

Browse files
committed
minor #12607 Update mercure.rst (gponty)
This PR was merged into the 4.3 branch. Discussion ---------- Update mercure.rst Just replace MERCURE_JWT_SECRET by MERCURE_JWT_TOKEN. symfony/recipes@9a58252#diff-d19ccce8daab2b00dbfa4e827ebde212 <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- cd74623 Update mercure.rst
2 parents a818351 + cd74623 commit daf7067

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mercure.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Set it to the URL of the Mercure Hub (``http://localhost:3000/.well-known/mercur
9999
In addition, the Symfony application must bear a `JSON Web Token`_ (JWT)
100100
to the Mercure Hub to be authorized to publish updates.
101101

102-
This JWT should be stored in the ``MERCURE_JWT_SECRET`` environment variable.
102+
This JWT should be stored in the ``MERCURE_JWT_TOKEN`` environment variable.
103103

104104
The JWT must be signed with the same secret key as the one used by
105105
the Hub to verify the JWT (``aVerySecretKey`` in our example).
@@ -126,7 +126,7 @@ public updates (see the authorization_ section for further information).
126126

127127
.. caution::
128128

129-
Don't put the secret key in ``MERCURE_JWT_SECRET``, it will not work!
129+
Don't put the secret key in ``MERCURE_JWT_TOKEN``, it will not work!
130130
This environment variable must contain a JWT, signed with the secret key.
131131

132132
Also, be sure to keep both the secret key and the JWTs... secrets!

0 commit comments

Comments
 (0)