some-scooter-3723
12/02/2021, 10:44 AM-
id: "company:protected1"
match:
url: "<https://company/><{abc/clients/**}>"
methods:
- GET
- POST
- PUT
- DELETE
authenticators:
-
handler: oauth2_client_credentials
authorizer:
handler: allow
-
id: "company:protected2"
match:
url: "<https://company/><{abc/**}>"
methods:
- GET
- POST
- PUT
- DELETE
authenticators:
-
handler: cookie_session
authorizer:
handler: allow
mutators:
- handler: headersteep-lamp-91158
steep-lamp-91158
some-scooter-3723
12/02/2021, 12:07 PMcompany:protected1, I can rewrite it to:
url: "<https://company/><{abc/clients/*}>"
For company:protected2 , I don't know exactly what I can rewrite, the reason I use ** here because it can match url abc/xyz or url abc/def/cccsteep-lamp-91158
some-scooter-3723
12/02/2021, 12:13 PM-
id: "company:protected1"
match:
url: "<https://company/abc/clients/><{**}>"
methods:
- GET
- POST
- PUT
- DELETE
authenticators:
-
handler: oauth2_client_credentials
authorizer:
handler: allow
-
id: "company:protected2"
match:
url: "<https://company/abc/[!clients]><{**}>"
methods:
- GET
- POST
- PUT
- DELETE
authenticators:
-
handler: cookie_session
authorizer:
handler: allow
mutators:
- handler: headersome-scooter-3723
12/02/2021, 12:15 PM<> ? I checked glob pattern but they don't mention anything about itsteep-lamp-91158
some-scooter-3723
12/02/2021, 9:48 PM