Solution: Angular + Asp.Net Core Version: 13.1 API Version: 13.1 Angular Version: 13.1
Issue with Angular
Issue: If Captcha is enabled, it always gives an error. "Unable to determine that you are not a robot".
No Captcha is display to the user to enter neither do we understand the basis.
To trouble shoot for automated Captcha , we noticed the login or create account payload submits exactly the same Captcha everytime "captchaResponse": "HFMzlhIEBGU1F-PglUHRNFHFs3ZnUeSUo5VWcCQUsPTWwMSmosNkkLbXJVFmNBc04JO2B3V0oSGgxSJ3s7PyURGks6JwFFCFhwAwZ2dW87UTx2HQw5DDkKCntnQ0pmExtDGyhoLlFqNyRTPQJZBQZcc14fdWMVJUQ_DisCawxOOwIhHQ9MCx5FXxB_IDJKXENdQWIBXU5_"
No matter which browser or session, the captcha is the same.
We checked an old post of a previous version logged with similar problem, but the solution is to ensure both the angular and API are same versions. In this case they both are.
Please kindly confirm which component or what exactly we should be looking at to fix this?
3 Answer(s)
-
0
Hi @ayoyusuf
Was it working before ? If so, is it possible to share the app URL with [email protected] ?
-
0
Hi @ayoyusuf
Was it working before ? If so, is it possible to share the app URL with [email protected] ?
We have never used Captcha on the app before. There was a client request to improve security using captcha. We enabled it and got the challenge getting it to work. We had to disable it to continue using the app.
-
0
Hi @ayoyusuf
In order to use it, you must register your production website URL on Google and then fill Recaptcha
SiteKey
andSecretKey
in your appsettings.json file.