dendrite icon indicating copy to clipboard operation
dendrite copied to clipboard

Captcha is non-functional

Open RDS5 opened this issue 1 year ago • 3 comments

Background information

Dendrite 0.13.7+46902e5 with Postgres database running on Debian 12 compiled with go 1.22.1

Description

Seemingly any hCaptcha (or even reCaptcha, as seen on matrix's official dendrite instance) will give "invalid key type" errors when users attempt to sign up.

Reproducing this is pretty easy, since matrix themselves have already reproduced it. image

RDS5 avatar Jun 14 '24 16:06 RDS5

I also cannot get hcaptcha to work, I get the same error. I was able to get recaptcha to work but would prefer hcaptcha.

For recaptcha, I selected V2 as well as the "I am not a robot" option. In the site settings disable (uncheck) "Verify the origin of reCAPTCHA solutions"

Zorg64 avatar Jun 19 '24 21:06 Zorg64

Having similar problem here with Hcaptcha, for some reason, its showing up as google Recaptcha instead of Hcaptcha

DevSH01 avatar Jul 30 '24 11:07 DevSH01

I'm relatively sure this is a problem with Element rather than Dendrite. The current Matrix specification does not accommodate captcha providers other than Google, so Element – and presumably most other clients – always use reCAPTCHA's URL, even if Dendrite advertises a different one (although I haven't confirmed that it actually does that correctly).

The necessary specification change is tracked at https://github.com/matrix-org/matrix-spec/issues/295.

BVollmerhaus avatar Aug 02 '24 07:08 BVollmerhaus