Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Captcha is non-functional #3387

Open
matrixbot opened this issue Nov 2, 2024 · 3 comments
Open

Captcha is non-functional #3387

matrixbot opened this issue Nov 2, 2024 · 3 comments

Comments

@matrixbot
Copy link
Collaborator

This issue was originally created by @RDS5 at matrix-org/dendrite#3387.

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

@matrixbot
Copy link
Collaborator Author

This comment was originally posted by @Zorg64 at matrix-org/dendrite#3387 (comment).

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"

@matrixbot
Copy link
Collaborator Author

This comment was originally posted by @DevSH01 at matrix-org/dendrite#3387 (comment).

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

@matrixbot
Copy link
Collaborator Author

This comment was originally posted by @BVollmerhaus at matrix-org/dendrite#3387 (comment).

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 matrix-org/matrix-spec#295.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant