Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ permalink: /documentation/products/guides/recaptcha/
---



**reCAPTCHA** is a *serverless* integration available at Azion Marketplace. This type of integration is mainly used for protecting domains against bots. It allows you to monitor traffic in your website by using the Google Dashboard for reCAPTCHA.

reCAPTCHA is a CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart) integration designed to protect websites from bots and automated scripts by using a challenge-response test to determine whether the user is a human or a machine.
Expand Down Expand Up @@ -97,10 +96,9 @@ To instantiate the reCAPTCHA integration, while still on the Edge Firewall page:
"theme": "dark",
"size": "compact",
"custom_message": "My message",
"custom_html": "<html>... <!-- azion_captcha --> .. </html>"
"custom_html": "<html>... <!-- azion_captcha --> .. </html>"
}
}

```

Where:
Expand Down Expand Up @@ -149,8 +147,11 @@ On the Console, you must now configure your domain so your edge firewall protect

Done. Now the **reCAPTCHA** integration is running for every request made to the domain you indicated.

Watch a video about how to install the reCAPTCHA integration through Azion Marketplace on Azion’s YouTube channel:
:::warning
Since requests to your application are processed through Azion's infrastructure, Google's reCAPTCHA service validates the domain from which the challenge is served — which will be your Azion domain (for example, `yourdomain.map.azionedge.net` or your custom domain). If this domain isn't registered in your Google reCAPTCHA settings, the challenge will fail.

To fix this, go back to the [Google reCAPTCHA admin dashboard](https://www.google.com/recaptcha/admin), select your site, and add your Azion domain to the **Domains** list. This ensures Google accepts reCAPTCHA validations originating from your Azion-powered application.
:::

<iframe width="560" height="315" src="https://www.youtube.com/embed/X-S1qDdVVbg?si=J7dzeymFxJH0P_Zs" loading="lazy" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

---
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,10 @@ Agora, no Console, você deve configurar seu domínio para que ele seja protegid

Pronto. Agora a integração **reCAPTCHA** está em execução para cada requisição feita ao domínio que você indicou.

:::warning
Como as requisições à sua aplicação são processadas pela infraestrutura da Azion, o serviço reCAPTCHA do Google valida o domínio a partir do qual o desafio é servido — que será o seu domínio Azion (por exemplo, `yourdomain.map.azionedge.net` ou seu domínio personalizado). Se esse domínio não estiver registrado nas configurações do reCAPTCHA do Google, o desafio falhará.

Para corrigir isso, acesse novamente o [painel de administração do Google reCAPTCHA](https://www.google.com/recaptcha/admin), selecione seu site e adicione seu domínio Azion à lista de **Domínios**. Isso garante que o Google aceite as validações do reCAPTCHA originadas da sua aplicação hospedada na Azion.
:::

---