Setup of ReCAPTCHA registration flow

For ReCAPTCHA set up during registration, do the following steps

  1. Go to the Authentication tab

  1. Click on the dropdown and click on Registration

  1. Click on Copy to copy the Registration flow

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

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

  1. Now fill in the required details.

Field Name
Field Type
Description

Alias

Text

Enter the Alias for the flow as required

Recaptcha Site Key

Text

Enter the value for the Recaptcha Site Key as generated from the Google reCAPTCHA portal.

Recaptcha Secret

Text

Enter the value for the Recaptcha Secret Key as generated from the Google reCAPTCHA portal.

Use recaptcha.net

Toggle

When activated, it utilizes recaptcha.net; when deactivated, it defaults to google.com.

  1. Click on Save.

  2. Now change the Recaptcha from Disabled to Required.

  1. Click on the Bindings tab.

Field Name
Mandatory (Yes/No)
Field Type
Description

Browser Flow

Yes

Dropdown

Select the process flow as required during Logging in

Registration Flow

Yes

Dropdown

Select the process flow as required during user registration

Direct Grant Flow

Yes

Dropdown

Select the process flow as required during

Reset Credentials

Yes

Dropdown

Select the flow as required during the credentials reset process

Client Authentication

Yes

Dropdown

Select the flow which you want to use for the Client Authentication flow

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

  1. Click on Save.

  2. Go to Realm Settings.

  1. Click on the Security Defenses tab.

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

  1. Click on Save.

Last updated