Captcha authentication via Headless API

Issue

  • We have developed a Liferay fragment to collect user input via a custom-designed HTML form. This fragment interacts with custom Liferay objects through a Headless API using JS
  • We have created a new role with the necessary permissions to access the Headless API endpoints for publicly required operations
  • However, we are facing a challenge in implementing CAPTCHA validation for this form to enhance security and prevent automated submissions
  • We would like to:
    • Have an option to integrate CAPTCHA validation into our Liferay fragment
    • Implement a CAPTCHA mechanism within the Liferay fragment to verify the form submissions
    • Ensure that the CAPTCHA verification process seamlessly integrates with the Headless API calls made from the fragment

Environment

  • Liferay DXP 7.4

Resolution

这篇文章有帮助吗?
0 人中有 0 人觉得有帮助