Skip to Content
MinexonMinexon

Google reCAPTCHA

Create reCAPTCHA v2 keys, protect player forms, and troubleshoot verification.

Google reCAPTCHA helps reduce automated submissions on the player forms you choose. The Default theme displays an I'm not a robot checkbox. Google may prompt the player for an additional challenge. When the player submits the form, Minexon checks the result on the server.

Create a key pair in Google Cloud

  1. Select your site's project in the Google Cloud console. Go to Fraud Defense → Keys → Create key and select Web as the application type.
  2. Add the hostname players use to reach the site, such as play.example.com. Omit https://, the port, and paths such as /en/. Keep domain verification enabled. Domain settings
  3. Select Challenge (v2). Minexon uses the visible checkbox type. Create the key and copy its Site key value.
  4. In the same key's details, open Integration → Use legacy key or Integrate with a third-party service or plugin. Copy the Legacy secret key for Minexon's Secret key field. Create a key and find its legacy secret

Save and enable reCAPTCHA in Minexon

  1. In Settings → Modules → Accounts, select Settings on the Google reCAPTCHA row.
  2. Enter the Site key and Secret key from the same Google record. Select at least one item under Protected flows and choose Save changes.
  3. Select Back to modules, turn on Google reCAPTCHA, and save the module changes.

Google reCAPTCHA settings in Minexon showing the key fields, four protected flows, and the save button

The site key loads the widget on player forms. Minexon stores the secret key encrypted and uses it for server-side verification. Leave the secret field blank to retain the saved value when changing the selected flows. When switching to a new Google key pair, update both fields together. Turning off the module pauses verification and keeps your settings.

Read access uses settings.modules.view. Changing the settings requires settings.modules.options, and toggling the module requires settings.modules.edit. Both write operations also require settings.manage. Modules

Which forms are protected?

Flow in the dashboardWhat the player verifies
Account registrationStandard registration and the form that completes registration started with an external provider. Account registration
Sign-inSigning in with a username and password or starting sign-in with a provider. Sign-in
Create a support ticketSubmitting a new ticket. Replies to existing tickets are outside the scope of this setting. New support ticket
Create a forum topicSubmitting a new topic. Editing a topic and posting replies are outside the scope of this setting. Create a forum topic

Registration, support, and forum forms depend on their own module and permission settings. reCAPTCHA adds a verification step to the forms already available to the player. Password recovery and two-factor authentication are separate account flows. The cookie consent choice does not change CAPTCHA behavior.

Use reCAPTCHA with Cloudflare Turnstile

You can enable both modules on different forms. For example, use reCAPTCHA for sign-in and Turnstile for new support tickets. The dashboard rejects settings that assign the same flow to two enabled providers. When moving a flow, remove it from the current provider first. If it is that provider's only selected flow, disable its module first. Cloudflare Turnstile

Verify the setup

  1. Open a protected form on the player site. Use a private browsing session for sign-in and registration, and a test account with the relevant permissions for support and forum forms.
  2. Complete I'm not a robot, submit a valid form, and confirm that the action completes. Google's verification response is valid for two minutes and can be used once. Complete a new challenge if you submit the form again. Google verification rules
  3. Start a new attempt, submit a valid form without completing the challenge, and confirm that Minexon blocks the action. Check that the checkbox appears on the selected flows only.
SymptomWhat to check
The checkbox does not appearConfirm that the module is on, the form is selected, and the theme includes the CAPTCHA component. Default includes it by default.
Google reports an invalid key type or domainUse a Challenge (v2) key and check that the hostname players use is allowed in the Google key settings.
The checkbox completes but the form fails verificationComplete a fresh challenge. Confirm that the site key and secret belong to the same Google record. The host needs PHP cURL and outbound HTTPS access to www.google.com. Minexon checks that the hostname returned by Google matches the hostname receiving the form.
The dashboard reports a provider conflictReview the flows protected by the enabled Turnstile module and assign each flow to a single provider.