Skip to content

Commit f111c55

Browse files
custom JWT claim (#18550)
1 parent fe4aae3 commit f111c55

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/content/docs/ruleset-engine/rules-language/fields/dynamic-fields.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,8 @@ Identifies whether a request comes from a worker or not. When a request comes fr
516516

517517
[API Shield](/api-shield/) users can now create [custom rules](/waf/custom-rules/) using claims present in tokens processed by [JSON Web Tokens Validation](/api-shield/security/jwt-validation/).
518518

519+
Users can also use any custom JWT claim. Refer to the [WAF documentation](/waf/custom-rules/use-cases/check-jwt-claim-to-protect-admin-user/) for an example of a custom JWT claim.
520+
519521
### `aud` (audience)
520522

521523
`http.request.jwt.claims.aud` <Type text='Map<Array<String>>' /> <br />

0 commit comments

Comments
 (0)