File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ Set it to the URL of the Mercure Hub (``http://localhost:3000/hub`` by default).
9999In addition, the Symfony application must bear a `JSON Web Token `_ (JWT)
100100to 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
104104The JWT must be signed with the same secret key as the one used by
105105the 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!
You can’t perform that action at this time.
0 commit comments