You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #12779 [Mercure] update mercure doc to add clarification in authorization (chloebrqt)
This PR was submitted for the 4.3 branch but it was squashed and merged into the 4.4 branch instead.
Discussion
----------
[Mercure] update mercure doc to add clarification in authorization
Hello everyone,
I've added a few words and a code example to clarify the doc about authorization in the Mercure Bundle, to indicate that the `withCredentials` attribute of the `EventSource` must be set to `true` for the authorization cookie to be sent to the Hub. I was missing this info when I installed Mercure for the first time (super protocol, by the way!) and learned about it while reading comments in response to an issue.
By the way, this pull request should fix the closed issue dunglas/mercure#65.
Thanks in advance and have a nice day!
(This is my first pull request ever to an open-source project, all the more so to the Symfony repository, so I hope I did everything right.)
Commits
-------
e6080ae [Mercure] update mercure doc to add clarification in authorization
0 commit comments