Skip to content

[Mercure] update mercure doc to add clarification in authorization #12779

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
Sep 9, 2020

Conversation

rooselle
Copy link
Contributor

@rooselle rooselle commented Dec 8, 2019

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.)

@javiereguiluz
Copy link
Member

@dunglas could you please review this proposal? Thanks!

@rooselle rooselle changed the title update mercure doc to add clarification in authorization [Mercure] update mercure doc to add clarification in authorization Jan 7, 2020
@javiereguiluz javiereguiluz added this to the 4.4 milestone Sep 9, 2020
@javiereguiluz javiereguiluz changed the base branch from 4.3 to 4.4 September 9, 2020 17:41
@javiereguiluz javiereguiluz merged commit 53239ed into symfony:4.4 Sep 9, 2020
@javiereguiluz
Copy link
Member

Chloé thanks and congrats on your first Symfony Docs contribution 🎉

I'm sorry it took us so long to merge.

@rooselle
Copy link
Contributor Author

No problem Javier, better late than never :) Thanks a lot for the merge!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants