Skip to content

[Mercure] Remove outdated authorization section #17947

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions mercure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -193,16 +193,11 @@ MercureBundle provides a more advanced configuration:

{
"mercure": {
"publish": []
"publish": ["*"]
}
}

Because the array is empty, the Symfony app will only be authorized to publish
public updates (see the authorization_ section for further information).

The jwt.io website is a convenient way to create and sign JWTs.
Checkout this `example JWT`_, that grants publishing rights for all *topics*
(notice the star in the array).
The jwt.io website is a convenient way to create and sign JWTs, checkout this `example JWT`_.
Don't forget to set your secret key properly in the bottom of the right panel of the form!

Basic Usage
Expand Down