Preventing AWS-Cognito bots with google reCaptcha

My problem is POST request if user is bot or human.

Can't submit the request form on the client side, otherwise u will get an error in the OPTIONS request: "(the response to the pre-check request fails the access control check: No" Access-Control-Allow-Origin "header is present on the requested resource)" this because the request is only possible from the server side.

There is a way in AWS-Cognito to use the pre-authenticated feature to test something like this, but I couldn't find a way to get the response element in the function.

So my question is, is there a way to implement Google recaptcha on AWS Cognito?

+3


source to share





All Articles