Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
reCAPTCHA integration problem
Hi, there!
I have an issue with non-working captcha input in my web form, which is a standard form created with the form builder app and reCAPTCHA enabled into form settings. I also activated reCAPTCHA into portal configurations under section Control Panel -> Configuration -> Sever administration -> CAPTCHA as I put valid keys too. However, on frontend it is not working for me as I constantly get the following error message in browser's console:
I have two projects - one running on liferay-ce-portal-7.0-ga5 and another one running on the older liferay-portal-6.2-ce-ga4 version, but in both projects I face the same issue with reCAPTCHA integration.
Can you give me an idea how to solve this problem? Any help will be appreciated!
Thanks in advance,
Eli
As indicated by the error message, the captcha is not loading because of your Content Security Policy (CSP). CSP is something you added since this isn't an OOTB feature in the portal. You'll need to configure your CSP to allow the captcha to load.
Powered by Liferay™