Require subscriber_jwt when publisher_jwt is set (#2141)

Added subscriber_jwt configuration requirement.

Signed-off-by: Marc <m@pyc.ac>
This commit is contained in:
Marc
2026-01-26 16:13:38 +01:00
committed by GitHub
parent d2b941833d
commit 3ed8723a86

View File

@@ -19,6 +19,8 @@ localhost
mercure {
# The secret key used to sign the JWT tokens for publishers
publisher_jwt !ChangeThisMercureHubJWTSecretKey!
# When publisher_jwt is set, you must set subscriber_jwt too!
subscriber_jwt !ChangeThisMercureHubJWTSecretKey!
# Allows anonymous subscribers (without JWT)
anonymous
}