Hi there,
I'm struggeling to understand how we should set the values of
MERCURE_JWT_SECRET
MERCURE_PUBLISHER_JWT_KEY
MERCURE_SUBSCRIBER_JWT_KEY
In the docs for the bundle, MERCURE_JWT_SECRET is used in the examples.
In the docs and templates for frankenphp and mercure.rocks, the template uses MERCURE_PUBLISHER_JWT_KEY/..SUBSCRIBER..
Am I understanding correctly that these are two different ways (sync/async) to handle secrets? What is recommended?
What are the requirements for the keys/secrets to use? Am I correct that they do not go together?
It seems I cannot find the docs required. Either, they are well hidden or do not exist - which is a pitty because it seems to set the entry barrier higher for this to use.
If you can provide an explanation how "it should be used", I'm more than happy to feed that back into the corresponding docs via MR for future users.
Hi there,
I'm struggeling to understand how we should set the values of
MERCURE_JWT_SECRET
MERCURE_PUBLISHER_JWT_KEY
MERCURE_SUBSCRIBER_JWT_KEY
In the docs for the bundle, MERCURE_JWT_SECRET is used in the examples.
In the docs and templates for frankenphp and mercure.rocks, the template uses MERCURE_PUBLISHER_JWT_KEY/..SUBSCRIBER..
Am I understanding correctly that these are two different ways (sync/async) to handle secrets? What is recommended?
What are the requirements for the keys/secrets to use? Am I correct that they do not go together?
It seems I cannot find the docs required. Either, they are well hidden or do not exist - which is a pitty because it seems to set the entry barrier higher for this to use.
If you can provide an explanation how "it should be used", I'm more than happy to feed that back into the corresponding docs via MR for future users.