You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I've been trying to setup reCaptcha v2 invisible and I been getting "Failed to connect to reCAPTCHA service!".
Turns out it was an "invalid-json" error and I narrowed it down to this line
This has solved my issue and I can now login.
I am using the latest PHPMyAdmin docker image so I'm having to do some hacky stuff to modify the AuthenticationCookie.php in my Docker image that I would MUCH rather prefer I didn't have to do.
So I am asking you to make this same change in PHPMyAdmin so upon the next version release I don't have to do any hacky stuff and it just works! I am also documenting this here for anyone else who may have the same problem.
Thank you.
The text was updated successfully, but these errors were encountered:
Hi, I've been trying to setup reCaptcha v2 invisible and I been getting "Failed to connect to reCAPTCHA service!".
Turns out it was an "invalid-json" error and I narrowed it down to this line
phpmyadmin/src/Plugins/Auth/AuthenticationCookie.php
Line 245 in 3a7e9fb
I changed this line to
new ReCaptcha\RequestMethod\CurlPost()
and changed line 260 from$resp = $reCaptcha->verify(
to$resp = $reCaptcha->setExpectedHostname($captchaSiteVerifyURL)->verify(
as specified in https://github.com/google/recaptcha/tree/master?tab=readme-ov-file#usageThis has solved my issue and I can now login.
I am using the latest PHPMyAdmin docker image so I'm having to do some hacky stuff to modify the AuthenticationCookie.php in my Docker image that I would MUCH rather prefer I didn't have to do.
So I am asking you to make this same change in PHPMyAdmin so upon the next version release I don't have to do any hacky stuff and it just works! I am also documenting this here for anyone else who may have the same problem.
Thank you.
The text was updated successfully, but these errors were encountered: