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
I am trying to get private messages working on Mercure, but I am unable to receive the messages. Could you provide me with the steps to follow?
I have configured the JWT for the subscriber like this: { "mercure": { "publish": [ "*" ] } }
And the JWT for the publisher like this: { "mercure": { "subscribe": [ "https://example.com/users/foo/{?topic}" ] } }
There are no errors when I publish with this configuration, but when I check the second parameter "topic" and set "private=On", my client stops receiving anything (without this, it receives just fine).
Did I miss something?
P.S.: I have tried with urlencode() and without, with the same result. (#591 (comment))
The text was updated successfully, but these errors were encountered:
kevcomparadise
changed the title
[Question] Who pushlish/subscribe private message
[Question] How publish/subscribe private message
Jul 22, 2024
Hi,
I am trying to get private messages working on Mercure, but I am unable to receive the messages. Could you provide me with the steps to follow?
I have configured the JWT for the subscriber like this:
{ "mercure": { "publish": [ "*" ] } }
And the JWT for the publisher like this:
{ "mercure": { "subscribe": [ "https://example.com/users/foo/{?topic}" ] } }
There are no errors when I publish with this configuration, but when I check the second parameter "topic" and set "private=On", my client stops receiving anything (without this, it receives just fine).
Did I miss something?
P.S.: I have tried with urlencode() and without, with the same result. (#591 (comment))
The text was updated successfully, but these errors were encountered: