DEV Community

Discussion on: Google reCaptcha v3 server-side validation using ASP.NET Core 5.0

Collapse
 
mpark988 profile image
MPark988

Hi i create a sample api project in .net core using this code I am passing my site key as parameter in input and security key in apsetting.json like
{
"recaptchaToken": "string"// here i am adding site key
}
but every time getting this error
{
"success": false,
"error-codes": [
"invalid-input-response"
]
}
my main purpose is to send this key from api to angular so need your help for this thank you.

Collapse
 
spencer741 profile image
Spencer Arnold

Hi @mpark988 . Apologies for the late response. I have responded to your issue on Github. github.com/spencer741/GoogleRecapt...