mirror of
https://github.com/php/frankenphp.git
synced 2026-03-24 00:52:11 +01:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user