Skip to content

Commit ef3b5bb

Browse files
authored
Update api.mdx (#27031)
Editing typo in "Require a valid token but ignore requests without a token" section to change `or not is_jwt_valid("51231d16-01f1-48e3-93f8-91c99e81288e")` to `or not is_jwt_present("51231d16-01f1-48e3-93f8-91c99e81288e")`
1 parent 9a6e659 commit ef3b5bb

File tree

1 file changed

+1
-1
lines changed
  • src/content/docs/api-shield/security/jwt-validation

1 file changed

+1
-1
lines changed

src/content/docs/api-shield/security/jwt-validation/api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ This can occur if you need to split JWKs into multiple token configurations.
224224

225225
#### Require a valid token but ignore requests without a token
226226

227-
The `is_jwt_valid("51231d16-01f1-48e3-93f8-91c99e81288e") or not is_jwt_valid("51231d16-01f1-48e3-93f8-91c99e81288e")` expressions will trigger an action if a request has an invalid token, ignoring requests with no tokens at all.
227+
The `is_jwt_valid("51231d16-01f1-48e3-93f8-91c99e81288e") or not is_jwt_present("51231d16-01f1-48e3-93f8-91c99e81288e")` expressions will trigger an action if a request has an invalid token, ignoring requests with no tokens at all.
228228

229229
## Apply a rule to operations
230230

0 commit comments

Comments
 (0)