You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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")`
Copy file name to clipboardExpand all lines: src/content/docs/api-shield/security/jwt-validation/api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -224,7 +224,7 @@ This can occur if you need to split JWKs into multiple token configurations.
224
224
225
225
#### Require a valid token but ignore requests without a token
226
226
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.
0 commit comments