Skip to content

Commit 3ed8723

Browse files
authored
Require subscriber_jwt when publisher_jwt is set (#2141)
Added subscriber_jwt configuration requirement. Signed-off-by: Marc <m@pyc.ac>
1 parent d2b9418 commit 3ed8723

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/mercure.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ localhost
1919
mercure {
2020
# The secret key used to sign the JWT tokens for publishers
2121
publisher_jwt !ChangeThisMercureHubJWTSecretKey!
22+
# When publisher_jwt is set, you must set subscriber_jwt too!
23+
subscriber_jwt !ChangeThisMercureHubJWTSecretKey!
2224
# Allows anonymous subscribers (without JWT)
2325
anonymous
2426
}

0 commit comments

Comments
 (0)