fix: 支持社区公开接口可选认证
This commit is contained in:
@@ -651,6 +651,11 @@ static_resources:
|
|||||||
headers:
|
headers:
|
||||||
- name: ":method"
|
- name: ":method"
|
||||||
exact_match: GET
|
exact_match: GET
|
||||||
|
requires:
|
||||||
|
requires_any:
|
||||||
|
requirements:
|
||||||
|
- provider_name: juwan_user_jwt
|
||||||
|
- allow_missing: {}
|
||||||
- match:
|
- match:
|
||||||
safe_regex:
|
safe_regex:
|
||||||
google_re2: {}
|
google_re2: {}
|
||||||
@@ -663,6 +668,11 @@ static_resources:
|
|||||||
headers:
|
headers:
|
||||||
- name: ":method"
|
- name: ":method"
|
||||||
exact_match: GET
|
exact_match: GET
|
||||||
|
requires:
|
||||||
|
requires_any:
|
||||||
|
requirements:
|
||||||
|
- provider_name: juwan_user_jwt
|
||||||
|
- allow_missing: {}
|
||||||
- match:
|
- match:
|
||||||
prefix: /api/v1/reviews
|
prefix: /api/v1/reviews
|
||||||
headers:
|
headers:
|
||||||
|
|||||||
@@ -449,6 +449,11 @@ data:
|
|||||||
headers:
|
headers:
|
||||||
- name: ":method"
|
- name: ":method"
|
||||||
exact_match: "GET"
|
exact_match: "GET"
|
||||||
|
requires:
|
||||||
|
requires_any:
|
||||||
|
requirements:
|
||||||
|
- provider_name: juwan_user_jwt
|
||||||
|
- allow_missing: {}
|
||||||
- match:
|
- match:
|
||||||
prefix: "/api/v1/reviews"
|
prefix: "/api/v1/reviews"
|
||||||
headers:
|
headers:
|
||||||
@@ -487,6 +492,11 @@ data:
|
|||||||
headers:
|
headers:
|
||||||
- name: ":method"
|
- name: ":method"
|
||||||
exact_match: "GET"
|
exact_match: "GET"
|
||||||
|
requires:
|
||||||
|
requires_any:
|
||||||
|
requirements:
|
||||||
|
- provider_name: juwan_user_jwt
|
||||||
|
- allow_missing: {}
|
||||||
- match:
|
- match:
|
||||||
safe_regex:
|
safe_regex:
|
||||||
google_re2: {}
|
google_re2: {}
|
||||||
|
|||||||
Reference in New Issue
Block a user