mirror of
https://github.com/sot-tech/mochi.git
synced 2026-04-26 15:40:01 -07:00
(partially tested) add scrape JWT validation
* remove `xorshift` package, add internal function in `varinterval` * change `bittorrent.QueryParams` getters to search case insensitive keys
This commit is contained in:
3
dist/example_config.yaml
vendored
3
dist/example_config.yaml
vendored
@@ -264,10 +264,13 @@ mochi:
|
||||
prehooks:
|
||||
# - name: jwt
|
||||
# options:
|
||||
# header: "authorization"
|
||||
# issuer: "https://issuer.com"
|
||||
# audience: "https://some.issuer.com"
|
||||
# jwk_set_url: "https://issuer.com/keys"
|
||||
# jwk_set_update_interval: 5m
|
||||
# handle_announce: true
|
||||
# handle_scrape: false
|
||||
#
|
||||
# - name: client approval
|
||||
# options:
|
||||
|
||||
Reference in New Issue
Block a user