symfony/mercure-bundle

add support for two jwt secret : publisher & subscriber

Opened this issue · 4 comments

Mercure allow to have two secret, but the bundle only allow one.

https://mercure.rocks/docs/hub/config

The bundle only supports publishing, it doesn't support subscribing (for now at least), so it makes sense to support only the publishing JWT.

But in the front part (twig), we subscribe, no?

Indeed! You're right. Would you mind to open a PR to support setting two different keys?