Skip to content

Commit 37e3e75

Browse files
authored
Merge pull request #1235 from Te4g/fix/mercure-jwt-token-variable
Fix MERCURE_JWT_TOKEN variable name
2 parents 6ae60da + da7033e commit 37e3e75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/mercure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Finally, 3 environment variables [must be set](https://symfony.com/doc/current/c
2727

2828
* `MERCURE_PUBLISH_URL`: the URL that must be used by API Platform to publish updates to your Mercure hub (can be an internal or a public URL)
2929
* `MERCURE_SUBSCRIBE_URL`: the **public** URL of the Mercure hub that clients will use to subscribe to updates
30-
* `MERCURE_JWT_SECRET`: a valid Mercure [JSON Web Token (JWT)](https://jwt.io/) allowing API Platform to publish updates to the hub
30+
* `MERCURE_JWT_TOKEN`: a valid Mercure [JSON Web Token (JWT)](https://jwt.io/) allowing API Platform to publish updates to the hub
3131

3232
The JWT **must** contain a `mercure.publish` property containing an array of topic selectors.
3333
This array can be empty to allow publishing anonymous updates only. It can also be `["*"]` to allow publishing on every topics.

0 commit comments

Comments
 (0)