I was made aware of this plug-in
but don’t find anything about it here, does anyone have any info on it, using it, examples or reports?
Thank you
I was made aware of this plug-in
but don’t find anything about it here, does anyone have any info on it, using it, examples or reports?
Thank you
I can’t find any info on it, but I tested it locally, and everything seems to work fine.
Overview
This plugin is designed to integrate HCaptcha into the sign-up form of Discourse forums. This plugin aims to enhance security and bot protection by leveraging the privacy-centric features of HCaptcha. The setup process is straightforward and consists of a few easy steps.
Installation
- Create an HCaptcha Account:
- Visit HCaptcha to create an account. After registering, you’ll receive a site key and a secret key.
- Setup Local Testing (Optional):
- If you are testing locally, add a new virtual host entry to your hosts file. Include a line like
127.0.0.1 test.mydomain.com
. Make sure the domain is valid, even if you don’t own it, to ensure the HCaptcha script loads properly.
- Configure Plugin Settings:
- Log into your Discourse admin panel.
- Navigate to
Admin
>Settings
>Plugins
>hCaptcha (settings)
.- In this section, add the site key and secret key you obtained from HCaptcha.
By completing these steps, you will successfully integrate HCaptcha into the sign-up form of your community.
Here is some image:
I hope that helps!
Awesome find! Definitely needs visibility
Very glad for ya for this plugin definitely should became native with multi support.
What is so great on that?
Is it solving a problem that you are experiencing?
Absolutely!
I find this plugin to be broken with 3.3.0.beta3-dev. After clicking registration, it says:
Something went wrong, perhaps this email is already registered, try the forgot password link
I have the latest Discourse version, and I can’t reproduce it in my local (dev) instance.
I will see to test a production forum in a few minutes.
It works well on a production installation.
Does it happen every time you register?
Yes, it happens every time. I opened up dev tools, and the error is:
{"errors":["You need to be logged in to do that."],"error_type":"not_logged_in"}
when performing a POST to /hcaptcha/create.json
Here is a screenshot:
And I am sure the email is not registered and the problem ceased when the plugin is disabled.
BTW, the domain is https://npuer.life/.
I am not sure whether the problem has to do with using CloudFlare as a CDN, let me do a test. and after a test, the error remains the same.
I can reproduce it on your site. I can see the request pass through Cloudflare, so I can only assume it does something it should not, like caching the page and passing a different forum session.
I don’t know Cloudflare; see in the dashboard if you can disable any optimization for this request.