I'm running MediaWiki 1.39.8 LTS with CIForms versions 1.3.0 from the REL1_39 branch on your GitHub, I'm running into the following error trying to implement a mail-in form with Google reCAPTCHA, "Form submission Captcha challenge not found. Please try again or contact admin@mywiki.wiki to receive support", I am using a CSP with the $wgCSPHeader header, it contains the following CSP declarations:
$wgCSPHeader = [
"useNonces" => false,
"script-src" => [
'\'self'',
'https://www.gstatic.com/recaptcha/',
'https://www.google.com/recaptcha/'
],
"default-src" => [
'\'self'',
'https://api.flickr.com'
],
"style-src" => [ '\'self\'' ],
"object-src" => [ '\'none\'' ]
];
And I have the following CIForms Config:
$wgCIFormsSenderEmail = "admin@mywiki.wiki";
$wgCIFormsSenderName = "Admin - My Wiki";
$wgCIFormsMailer = "smtp";
$wgCIFormsSMTPHost = "smtp.company.email";
$wgCIFormsSMTPUsername = "admin@mywiki.wiki";
$wgCIFormsSMTPPassword = "password";
$wgCIFormsSMTPPort - 587;
$wgCIFormsDataAccess = [ "bureaucrat", "administrators", "content-moderators" ];
$wgCIFormsGoogleRecaptchaSiteKey = "key";
$wgCIFormsGoogleRecaptchaSecret = "secret";
The Google ReCAPTCHA secret and site key are valid and I've double checked that, and I'm not sure what could be causing the issue, there's no errors reported in my web console, by apache, by my CSP or anything. Help would very much be appreciated, thanks!