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).
99
99
In addition, the Symfony application must bear a `JSON Web Token `_ (JWT)
100
100
to the Mercure Hub to be authorized to publish updates.
101
101
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.
103
103
104
104
The JWT must be signed with the same secret key as the one used by
105
105
the Hub to verify the JWT (``aVerySecretKey `` in our example).
@@ -126,7 +126,7 @@ public updates (see the authorization_ section for further information).
126
126
127
127
.. caution ::
128
128
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!
130
130
This environment variable must contain a JWT, signed with the secret key.
131
131
132
132
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