-
-
Notifications
You must be signed in to change notification settings - Fork 676
hcaptcha fails with "Invalid site key" #2878
Comments
I just want to add, that is seems reCaptcha is returning the error, not hCaptcha as configured. |
This is what I have in dendrite.yaml (with my hcaptcha keys obviously in the key here portions). Am I missing something? |
I am experiencing the same issue.
{"flows":[{"stages":["m.login.recaptcha"]}],"completed":[],"params":{"m.login.recaptcha":{"public_key":"<snip>"}},"session":"<snip>"} Dendrite seems to ignore the hcaptcha configuration (as from the sample config) and clients attempt to use recaptcha by default, for which the site key is invalid. |
It seems like there are even more problems here. The configuration says
However, keeping them empty results in an error:
|
I believe #2939 fixed this? |
nope |
I checked out the commit 0782011 where this feature was implemented, and I am still getting recaptcha instead of hcaptcha, with the same client error as in the OP.
I am also getting the same kind of response to the However, navigating to So it looks like clients implementing the But clients which do not implement this will load the hcaptcha HTML form using the fallback endpoint. Because there are no alternative captcha methods in the spec, I don't see a way to solve this and I suspect hcaptcha has never worked in clients implementing |
The matrix spec currently only supports recaptcha. There's an open issue about this in the spec repo: matrix-org/matrix-spec#295. |
Just want to leave a potential workable solution for the element web interface here: Clear cache in browser, retry the URL. Upon registration you'll get a link "start authentication" which will redirect you to Then the user fills in captcha and it should work. The easiest solution I found by experimenting with many things including a WIP email registration.. which I left behind. What I hope is that instead of using "recaptcha" a new setting should be used, which will force clients to use the fallback method instead. |
Background information
go version
:built-in to imageDescription
hcaptcha fails to work -
Anyone using hcaptcha in lieu of recaptcha
Response is "ERROR for site owner: Invalid site key" upon trying to register for the server
Steps to reproduce
Additional
I think it might have to do with whatever v2 and v3 recaptcha uses which I presume hcaptcha uses v3 now? Just a guess.
I've verified all settings and have done simple tests otherwise where the site key works fine.
The text was updated successfully, but these errors were encountered: