You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/03/05 01:42:19 UTC

[GitHub] [apisix] nic-6443 edited a comment on pull request #6512: feat: support google reCAPTCHA

nic-6443 edited a comment on pull request #6512:
URL: https://github.com/apache/apisix/pull/6512#issuecomment-1059644370


   > > missing test cases
   > 
   > @membphis Have some trouble for write test cases. Google reCAPTCHA is aimed at protecting API from bots, so it's almost impossible to obtain a valid recaptcha token from google by programing. It's kind of a paradox. What can I do is only writing the failure test cases
   
   FYI: https://developers.google.com/recaptcha/docs/faq#id-like-to-run-automated-tests-with-recaptcha.-what-should-i-do
   We can save some credential information in the secret of GitHub action, so that it is private to CI.
   And how to test for failure scenarios can be found here: https://stackoverflow.com/questions/43397678/is-it-possible-to-force-fail-a-recaptcha-v2-for-testing-purposes-i-e-pretend


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org