green-jewelry-10349
11/27/2024, 11:59 AMgreen-jewelry-10349
11/27/2024, 12:01 PM[
{
"id": "public",
"upstream": {
"url": "<https://jsonplaceholder.typicode.com/todos/1>"
},
"match": {
"url": "<http://localhost:4455/v1/><{auth,webhooks}>/<**>",
"methods": [
"GET",
"POST",
"PUT",
"DELETE",
"PATCH"
]
},
"authenticators": [
{
"handler": "noop"
}
],
"authorizer": {
"handler": "allow"
},
"mutators": [
{
"handler": "noop"
}
]
},
{
"id": "protected",
"upstream": {
"url": "<https://jsonplaceholder.typicode.com/todos>"
},
"match": {
"url": "<http://localhost:4455/v1/><{users,teams}>/<{**}>",
"methods": [
"GET",
"POST",
"PUT",
"DELETE",
"PATCH"
]
},
"authenticators": [
{
"handler": "noop"
}
],
"authorizer": {
"handler": "allow"
},
"mutators": [
{
"handler": "noop"
}
]
}
]
I want to ignore all v1/auth in protected rule, instead of adding {users,team}...etc. I want to ignore all /v1/auth/** & v1/webhooks/** route in protected.
I know this is silly question. But it would be great if anyone of you can help me in this