Open smalu opened 2 days ago
I enabled logging for reCAPTCHA Enterprise API on Google Cloud Console and I see the response of Assessment endpoint:
@type: "type.googleapis.com/google.cloud.recaptchaenterprise.v1.Assessment"
accountDefenderAssessment: {0}
event: {
expectedAction: "register"
siteKey: "[my siteKey]"
token: "[very log base64]"
}
name: "projects/[...gcp project id...]/assessments/[assesment id]"
riskAnalysis: {
score: 0.89999998
}
tokenProperties: {
action: "register"
createTime: "2024-06-28T12:08:49.836Z"
hostname: "[hostname of my KC instance]"
valid: true
}
So they added new emtpy field accountDefenderAssessment
which is not expected in RecaptchaAssessmentResponse.
Before reporting an issue
Area
core
Describe the bug
After configuring reCAPTCHA Enterprise v3 according to docs I tried to register new account and I always have "Invalid Recaptcha" error message on form, checked logs and got an exception:
however, I can see on GCP key details that assesments were created on API. I guess that some fields (
accountDefenderAssessment
) were added on Google Recaptcha Enterprise API Response.Version
25.0.1
Regression
Expected behavior
reCAPTCHA Enterprise v3 should be validated, then the registration should pass.
Actual behavior
Invalid Recaptcha
Error on register form.How to Reproduce?
Anything else?
No response