AspNetCore ReCAPTCHAv3
1.0.0
You can use this repository two ways:
applicationsettings.json
. Also you can change Threshold value."GoogleRecaptcha": {
"VefiyAPIAddress": "https://www.google.com/recaptcha/api/siteverify",
"Sitekey": "YOUR-GOOGLE-SITEKEY-HERE",
"Secretkey": "YOUR-GOOGLE-SECRETKEY-HERE"
},
"RecaptchaThreshold": "0,5"
I set 0.5 for this example. If get to you score is less than 0.5
from Google API, return error page. If score is greater that 0.5
and username-password pair is correct, you are login. Devto Post: Post
Please feel free to send PR or issue if you think there is a wrong, mistake, or enhancement.