User Manual

ReCaptcha Usage Scenario

ReCaptcha Usage Scenario

Kuika's ReCaptcha element is used to protect applications from automated processes and bots. It provides a user-friendly verification process, ensuring only real users have access. It is ideal for enhancing security, especially on forms and login screens.

Areas of Use

  • Login Screens → To prevent bot logins.
  • Registration Forms → Prevent spam accounts from being created.
  • Comment/Contact Forms → Provide protection against automated messages.
  • Payment Steps → Provide real user verification as an additional security layer.

Usage Scenario – Registration Form Protection

On a registration form, after filling in their information, the user performs a ReCaptcha verification before submitting the form.

  • If the verification is successful → The form is submitted.
  • If the verification fails → An error message is displayed to the user.

UI Design Module Operations

  1. Go to the UI Design module.
  2. Select the ReCaptcha element from the Elements > Interactive category on the left side.
  3. Drag and drop it onto the screen.

Required Settings for Using ReCaptcha

To use the ReCaptcha element, a separate Site Key and Secret Key must be obtained for each platform (Web, Android, iOS). These keys are generated via the Google ReCaptcha Console and added to the Configuration Manager module in Kuika.

Obtaining Google Console ReCaptcha Keys

  • For Web
    • Go to the Google ReCaptcha page → Select “Create Key”.
    • Platform Type: Website.
    • Add Domain → Create Site Key and Secret Key.
  • For Android
    • Platform Type: Android app.
    • Enter Bundle ID.
    • Create and save Site Key.
  • For iOS
    • Platform Type: iOS app.
    • Enter Bundle ID.
    • Log in to your Apple Developer account and create a .p8 Private Key file.
    • Obtain Key ID and Team ID information.
    • Create a ReCaptcha key.

Kuika ReCaptcha Integration

  1. Go to the Configuration Manager module.
  2. Select the relevant platform (Web / Android / iOS).
  3. In the Google Recaptcha field → click Add New.
  • Name → Fill in as desired.
  • Site Key → Site Key from Google Console.
  • Secret Key → Secret Key from Google Console.
  1. Save.

ReCaptcha Verification Actions

  1. Select the ReCaptcha element in the UI Design module.
  2. Add verification using the ADD VALIDATION button on the right side.
  3. To the button that will be verified:
    • Add OnClick → Verification → Verify ReCaptcha Token.
    • If logout is required → add OnClick → Logout.

When the Scenario Step is Complete

  • ReCaptcha verification runs when the user fills out the form.
  • If verification passes → the process continues.
  • If it fails → the user is warned and the process is canceled.

Restrictions

  • Separate keys must be obtained for the web, Android, and iOS.
  • The .p8 file can only be downloaded once and must not be lost.
  • Verification will not work if the wrong domain or Bundle ID is entered.

Troubleshooting

  • If verification fails → Check the domain/bundle settings in Google Console.
  • API error → The Secret Key may have been entered incorrectly.
  • If the ReCaptcha element is not visible → Check the integration on the UI side.

Tips and Best Practices

Common mistake: Expecting verification across all platforms with a single key → A separate key is required for each platform.
  • ReCaptcha should be used in forms to ensure both security and spam protection.
  • Keep verification messages short and clear for the user experience.
No items found.

Other Related Content

No items found.

Glossary

No items found.

Alt Başlıklar