Customizing the CAPTCHA look and feel

CAPTCHA IAM plugins are supported in self-registration and in public self-service flows. Without customization, the IAM plugins are rendered using their default settings.

To apply these settings, Airlock IAM offers a JavaScript API that can be redefined in iam-custom.js, for example to set the theme and size:

iam.api.captcha.config = function(captchaType) { 
     return { 
         "data-theme": "dark", 
         "data-size": "compact", 
         "data-tabindex": "3" 

The available captcha types currently are RE_CAPTCHA and H_CAPTCHA.