Jump to content

Google recaptcha v3 implementation


Mehmet Emin

Recommended Posts

Hi,

This is a sample project with Google recaptcha v3 implementation in uniGUI.

1. Register your domain/hostname and get your site and secret keys at  https://www.google.com/recaptcha/admin

2. In the server module set the constants:  RECAPTCHA_SITE_KEY and RECAPTCHA_SECRET_KEY

3. Call Recaptcha3InitJSLibrary in UniGUIServerModuleBeforeInit

4. Call Recaptcha3Execute in UniFormAfterShow

5. You will need a hidden edit (TUniCustomEdit descendant) on the form in order to keep the recaptcha response and use it during site verification.

 

recaptcha3_reupload.7z

Edited by Mehmet Emin
re upload
  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...