Captcha protection on login screen

Hello,

Has anyone embedded a simple captcha on their login screen? I need the very basic checkbox protection function.
The user would first solve the captcha, then they’d be allowed to log in.

How would I go about implementing that? Most examples on the internet advise us to embed some html in our login page. How can I do that with JMIX?

Thanks in advance for the assistance!

Hi,

There are two options to integrate js (+html) into a page:

  1. Using Generic JavaScriptComponent :: Jmix Documentation
  2. Implementing BootstrapListener which gives the access to the entire web page. The example of using BootstrapListener can be found on forum, e.g. here: Viewport problem - #2 by gorelov

Unfortunately, it’s hard to give any specific advice, since I don’t know which captcha lib you want to integrate.

Regards,
Gleb