Skip to content

Commit 42640c7

Browse files
committed
minor #17947 [Mercure] Remove outdated authorization section (dunglas)
This PR was merged into the 5.4 branch. Discussion ---------- [Mercure] Remove outdated authorization section <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases 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 `6.x` for features of unreleased versions). --> Commits ------- 7b27ade [Mercure] Remove outdated authorization section
2 parents 58e55a1 + 7b27ade commit 42640c7

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

mercure.rst

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -193,16 +193,11 @@ MercureBundle provides a more advanced configuration:
193193
194194
{
195195
"mercure": {
196-
"publish": []
196+
"publish": ["*"]
197197
}
198198
}
199199
200-
Because the array is empty, the Symfony app will only be authorized to publish
201-
public updates (see the authorization_ section for further information).
202-
203-
The jwt.io website is a convenient way to create and sign JWTs.
204-
Checkout this `example JWT`_, that grants publishing rights for all *topics*
205-
(notice the star in the array).
200+
The jwt.io website is a convenient way to create and sign JWTs, checkout this `example JWT`_.
206201
Don't forget to set your secret key properly in the bottom of the right panel of the form!
207202

208203
Basic Usage

0 commit comments

Comments
 (0)