mirror of https://github.com/dapr/docs.git
Update daprdocs/content/en/reference/components-reference/supported-middleware/middleware-oauth2clientcredentials.md
Co-authored-by: Alice Gibbons <alicejgibbons@gmail.com> Signed-off-by: Mark Fussell <markfussell@gmail.com>
This commit is contained in:
parent
829758af16
commit
6325f02ca0
|
|
@ -75,7 +75,7 @@ spec:
|
|||
type: middleware.http.oauth2clientcredentials
|
||||
```
|
||||
|
||||
## Path Filtering for Least Privilege Security
|
||||
## Request path filtering
|
||||
|
||||
The `pathFilter` field allows you to apply OAuth2 client credentials authentication selectively based on request paths using regex patterns. This enables implementing the least privilege principle by configuring multiple OAuth2 middlewares with different scopes for different API endpoints, ensuring services only receive the minimum permissions necessary for their intended operations.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue