mirror of
https://github.com/sot-tech/mochi.git
synced 2026-06-02 03:03:37 -07:00
middleware: add blacklist support
This commit is contained in:
+4
-3
@@ -27,11 +27,12 @@ chihaya:
|
||||
audience: https://chihaya.issuer.com
|
||||
jwk_set_uri: https://issuer.com/keys
|
||||
jwk_set_update_interval: 5m
|
||||
- name: approved_client
|
||||
- name: client approval
|
||||
config:
|
||||
type: whitelist
|
||||
clients:
|
||||
whitelist:
|
||||
- OP1011
|
||||
blacklist:
|
||||
- OP1012
|
||||
|
||||
posthooks:
|
||||
- name: gossip
|
||||
|
||||
Reference in New Issue
Block a user