> For the complete documentation index, see [llms.txt](https://ztrust.gitbook.io/ztrust-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ztrust.gitbook.io/ztrust-documentation/user-manual-ztrust-v1.0/admin-manual/how-to-set-up-multi-factor-authentication/setup-of-recaptcha-registration-flow.md).

# Setup of ReCAPTCHA registration flow

For ReCAPTCHA set up during registration, do the following steps

![](https://lh7-us.googleusercontent.com/docsz/AD_4nXev-WvtFZITPtGcBEQ8RsI4B7LaLlDknj7N-5pMHIv5IMj0yyIsUO-18OP_vgTbWc6vR7Lwf-t6hNDPP8tmClqfixqKr-hu-87CcJs3b7ryoFyNbWxT3LBoDzsRfdMprNy9ADAsxlN8Hv9OLnfn25Nc--IKCrfngSypBEABHYJtzYaUFzva0Xk?key=trHzRgGTD4ANqZgrt456QA)

1. Go to the Authentication tab

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXe3maGHvY2UQDQbfkUA-EnPQFymMAQZ4j5x8yPB-2e9VAj8T3vqo5RTFRCHfvGydJcCBff3r1K1wC_z5-vTwDr1tUJSMRpxwOXN1VfLtcHfeQ5Y6mhjtwvhnqUt9PdFjl43q6e8vFmxekvCe7hTNINp-y_L0okQJNi87etb4vKvRdc73nvG_jY?key=trHzRgGTD4ANqZgrt456QA" alt=""><figcaption></figcaption></figure>

2. Click on the dropdown and click on Registration

![](https://lh7-us.googleusercontent.com/docsz/AD_4nXdO1elGIckE21PdPEZ0MqG77Yty3TaZyxr1GTFPz66WNTiiZbESdh8gKB-1H2OKTfg8h2FWKSHh0dkFJo5iYxzYQI7abnAU8ZdZRO6Rvu60s2pQUhl5izlWkMRdZp0rFqEWsWSDzNj2dO8fHkzpZtu5hbr1ufDvorwgFTmzv8q0emIYZe12czo?key=trHzRgGTD4ANqZgrt456QA)

3. Click on Copy to copy the Registration flow

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXeCOdX5YNmLXR9n_KdKrhNrGLf1lUfWAFrkSTaGV5oyDBeXAH4aHZrdn6NL-vJAUzfSFJY3JqCzwgPaCQLNtsBd3HaCwUeZiD7Wtb-QybAxL6X-QTuj4zeYry7aEE6N-kGcorP1dmUViJS1yqOLhde8DBlt9ximfFyhMaozm94sOxuIiSvK5w?key=trHzRgGTD4ANqZgrt456QA" alt=""><figcaption></figcaption></figure>

4. Enter the name for the new flow - ReCAPTCHA Registration flow

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXcWfMrwBN11C0m2TwTe439yHIYlEiKQzoovtD76mUNuZ56Gl-iuoqIGpG6lqEwjC0ldeSSRw5UAwLxnsWjU_VyHjLiSVeggUTBCXcaWli6AvMjtgtXcE4FWODCpEMt2EHHXGC1KHo71Gwg0Da86RxOTDFW-QyWFcI_1Q053Qg23nyhVNbZk7A?key=trHzRgGTD4ANqZgrt456QA" alt=""><figcaption></figcaption></figure>

5. For the Recaptcha field, Click on Actions and then Config

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXdht8Pzgf3NV2dzB1oV8aUkTi93f6UcNZD3egY6tpBA1tSvcgp80y9eGfrq_RXWa0e-2ta55oddzh0wwl21rRzlVmvYDtAAgSNMbawTViyVNCnhPrBbadDhicVkOdGMA0yYrylXyynDmiVBNxzqFiWWI7f8ZfrlYv24SdThYmLOA2AInEPu66g?key=trHzRgGTD4ANqZgrt456QA" alt=""><figcaption></figcaption></figure>

6. Now fill in the required details.

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXcoctYtA5DbC8gU2Zl3d4CiGDDinlr7tsmXCI1lTTFPAjHScnwrCTSTbknKDf2hbY1dtJD7ioPzq-I_48Y1rzbNSyGR76erbEVidnMNd5sw-vsz76EuOprLCniY0CYn-vTFbF7Bx0TIIafzcEAZXqgkmol10DtvDEMFa8XB3Js0easfxGQsJ_E?key=trHzRgGTD4ANqZgrt456QA" alt=""><figcaption></figcaption></figure>

<br>

<table><thead><tr><th width="175">Field Name</th><th width="163">Field Type</th><th>Description</th></tr></thead><tbody><tr><td>Alias</td><td>Text</td><td>Enter the Alias for the flow as required</td></tr><tr><td>Recaptcha Site Key</td><td>Text</td><td>Enter the value for the Recaptcha Site Key as generated from the Google reCAPTCHA portal.</td></tr><tr><td>Recaptcha Secret</td><td>Text</td><td>Enter the value for the Recaptcha Secret Key as generated from the Google reCAPTCHA portal.</td></tr><tr><td>Use recaptcha.net</td><td>Toggle</td><td>When activated, it utilizes recaptcha.net; when deactivated, it defaults to google.com.</td></tr></tbody></table>

7. Click on Save.
8. Now change the Recaptcha from Disabled to Required.

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXeUr2SC2s8-6kIavfjrmN2x6eGcCGrKBPWNq3DMYuh1v9vLcjVyGhOo3hwakT6gaf3_8fmb8H9GGirU2gCbDlEhn4V8oWnpvvLd9dNqdYHi3BJwX5LlquKdsq7mRnRnvQNRDelPb26HPhF2-JAp3bW8Nkfjf3MkSMtL4PowrHhP17COpSzs9Q?key=trHzRgGTD4ANqZgrt456QA" alt=""><figcaption></figcaption></figure>

9. Click on the Bindings tab.

![](https://lh7-us.googleusercontent.com/docsz/AD_4nXcsLJybE8QweZzP5k8Kd8OzyFzuodd9xxH-SviO6ZEI52vA0OnyRYCK9qUXupXiagoBII0n74L6H8X4yEMjURnMJ4D4vKz7YoqDArF81cCiVUG-MiMhmSGaQlStWy1CDJlQzfKAfmffqGF8sSpMbeotSejvA3XkfSc5-39oubcKXWSr_cwpf-I?key=trHzRgGTD4ANqZgrt456QA)

<table><thead><tr><th width="163">Field Name</th><th width="188">Mandatory (Yes/No)</th><th width="109">Field Type</th><th>Description</th></tr></thead><tbody><tr><td>Browser Flow</td><td>Yes</td><td>Dropdown</td><td>Select the process flow as required during Logging in</td></tr><tr><td>Registration Flow</td><td>Yes</td><td>Dropdown</td><td>Select the process flow as required during user registration</td></tr><tr><td>Direct Grant Flow</td><td>Yes</td><td>Dropdown</td><td>Select the process flow as required during</td></tr><tr><td>Reset Credentials</td><td>Yes</td><td>Dropdown</td><td>Select the flow as required during the credentials reset process</td></tr><tr><td>Client Authentication</td><td>Yes</td><td>Dropdown</td><td>Select the flow which you want to use for the Client Authentication flow</td></tr></tbody></table>

10. Now change the Registration Flow to the new flow created - ReCAPTCHA Registration flow.

![](https://lh7-us.googleusercontent.com/docsz/AD_4nXdpvsNQxdVKb4GYaIu1NTM1Rv-Cko4Mo2S4dszkGWcY0ayFu3o1dt22hUYp2JxSrV8SPZTzy_uIoAVxqAkxEO-44o7uFh2ZOOE2zwq2GdwNTZ87VKrmswda8DA0iUlqD9bhYXG15igXjeKOv9Td5D_ks1m_nBBEN1yIprIAJgPMn0DjS6uDwj4?key=trHzRgGTD4ANqZgrt456QA)

11. Click on Save.
12. Go to Realm Settings.

![](https://lh7-us.googleusercontent.com/docsz/AD_4nXf9hBsgUP9XqLoj3QlBSdkzjyMjaO_Pn8-vuhY7ZWC7kWr2vWOYAXfaPyZ9Hn53s1P86cfLE0jaZblQSaQ_dMtvULE-gXwHs_6KrBt5aNP-hD8tjdSTzujRK-ncWGw8OP8jdYXyA3f150XNUqIscy05c7Adoj_mdn4R4OIXbtLYQDVonj7gDNg?key=trHzRgGTD4ANqZgrt456QA)

13. Click on the Security Defenses tab.

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXdTsyBxCqNxiUyRZoZKpnAUdvhKlqaucCu3hGE_vEae5FhmSTHNa-e_zXPthuo99LwbwJ8mcfEb72Wkj2zNr850C_KXvNxIjUJcT3UXzgp39Fti21icRzHbWOPDSEsV39YLsKDEt5fOvdIOzLgt_jyJeET5CFl4RkrPFQlzLNJJrbg0iRDOCeU?key=trHzRgGTD4ANqZgrt456QA" alt=""><figcaption></figcaption></figure>

14. Change the X-Frame-Options and Content-Security-Policy as required.

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXeIG4ku9ExvHgE4m_rm7SFwLazpy4Ev3Ocl7aIqHdSaDVrtaYmokoQ63TGV9KXs5kOcyjIEspag_pxpxRVk31c5bmjFuCa5Tcq43E_cEIGSV9_y_ahiDj0olTXO8MFW2EDOMT8iVIRMOnWgJZuhl7HKmd3ciDSgjTX-t5QlYGc2klzF1H4FvXw?key=trHzRgGTD4ANqZgrt456QA" alt=""><figcaption></figcaption></figure>

15. Click on Save.
