From 9f613cd0bdc7f7fabfadb5c84a0b74aeae754fa5 Mon Sep 17 00:00:00 2001 From: "gabriel.alves" Date: Mon, 13 Jul 2026 13:39:16 -0300 Subject: [PATCH] Update ALTCHA flow criteria to include additional conditions for redirect --- .../docs/en/pages/guides/edge-functions/altcha-challenge.mdx | 5 ++++- .../pt-br/pages/guias/edge-functions/altcha-challenge.mdx | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/content/docs/en/pages/guides/edge-functions/altcha-challenge.mdx b/src/content/docs/en/pages/guides/edge-functions/altcha-challenge.mdx index e13cc94d52..e4aecd9982 100644 --- a/src/content/docs/en/pages/guides/edge-functions/altcha-challenge.mdx +++ b/src/content/docs/en/pages/guides/edge-functions/altcha-challenge.mdx @@ -102,9 +102,12 @@ For the ALTCHA flow to work correctly, you also need to create a rule in the [Ap 3. Go to the **Rules Engine** tab and click **+ Rule**. 4. In the **Name** field, enter a unique, descriptive name. 5. In **Phase**, select **Request**. -6. In the **Criteria** section, configure the following condition: +6. In the **Criteria** section, configure the following conditions: - **Variable**: `${http_X_Azcaptcha_Success}` - **Operator**: `does not exist` + - **Variable**: `${uri}` + - **Operator**: `is equal` + - **Value**: `/form` 7. In the **Behavior** section, select **Redirect To (302 Found)** and enter `/az-request-verify` as the destination. 8. Keep **Status** as **Active**. 9. Click **Save**. diff --git a/src/content/docs/pt-br/pages/guias/edge-functions/altcha-challenge.mdx b/src/content/docs/pt-br/pages/guias/edge-functions/altcha-challenge.mdx index adb0354fa1..ed9c325915 100644 --- a/src/content/docs/pt-br/pages/guias/edge-functions/altcha-challenge.mdx +++ b/src/content/docs/pt-br/pages/guias/edge-functions/altcha-challenge.mdx @@ -99,9 +99,12 @@ Para que o fluxo do ALTCHA funcione corretamente, você também precisa criar um 3. Vá até a aba **Rules Engine** e clique em **+ Rule**. 4. Na seção **Name**, insira um nome único e descritivo. 5. Em **Phase**, selecione **Request**. -6. Na seção **Criteria**, configure a seguinte condição: +6. Na seção **Criteria**, configure as seguintes condições: - **Variable**: `${http_X_Azcaptcha_Success}` - **Operator**: `does not exist` + - **Variable**: `${uri}` + - **Operator**: `is equal` + - **Value**: `/form` 7. Na seção **Behavior**, selecione **Redirect To (302 Found)** e insira `/az-request-verify` como destino. 8. Mantenha o botão **Status** como **Active**. 9. Clique no botão **Save**.