From c303b99f61795324eed99218e24d0a343c17c1b8 Mon Sep 17 00:00:00 2001 From: Sergey Beryozkin Date: Tue, 18 Jul 2023 14:41:04 +0100 Subject: [PATCH] Update docs/src/main/asciidoc/security-oidc-code-flow-authentication.adoc Co-authored-by: George Gastaldi --- .../main/asciidoc/security-oidc-code-flow-authentication.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/security-oidc-code-flow-authentication.adoc b/docs/src/main/asciidoc/security-oidc-code-flow-authentication.adoc index 9126b4d503390c..02ae3fb7860e66 100644 --- a/docs/src/main/asciidoc/security-oidc-code-flow-authentication.adoc +++ b/docs/src/main/asciidoc/security-oidc-code-flow-authentication.adoc @@ -1076,7 +1076,7 @@ In such cases, set the `quarkus.oidc.authentication.java-script-auto-redirect` p The browser script must set a header to identify the current request as a JavaScript request for `499` status code to be returned when `quarkus.oidc.authentication.java-script-auto-redirect` property is set to `false`. -If the script engine sets an engine specific request header itself, then you can register a custom `quarkus.oidc.JavaScriptRequestChecker` bean which will inform Quarkus if the current request is a JavaScript request. For example, if the JavaScript engine sets a header such as `HX-Request: true` then you can have it checked like this: +If the script engine sets an engine-specific request header itself, then you can register a custom `quarkus.oidc.JavaScriptRequestChecker` bean, which will inform Quarkus if the current request is a JavaScript request. For example, if the JavaScript engine sets a header such as `HX-Request: true` then you can have it checked like this: [source,java] ----