ACUL SDK and Simple Captcha Reloading

Overview

Developers implementing the ACUL SDK may wish to include a dedicated button to reload the Simple Captcha image (and its associated value) dynamically, without forcing a full-page refresh. This is a common pattern to allow users to request a new image if the current one is illegible.

Applies To
  • Auth0 Universal Login
  • Advanced Customization via Universal Login (ACUL) SDK
  • Bot Detection: Simple Captcha
Cause

The Simple Captcha mechanism is tightly coupled with the initial context generation of the Universal Login flow.

  • The Captcha is generated and loaded when the initial GET request is executed on the /u/login endpoint.
  • The ACUL SDK retrieves this image during the initial login context.
  • There is currently no dedicated server-side method or API endpoint available to request and return a new Captcha image independently of the main authentication transaction.

Solution

It is not possible to reload only the Simple Captcha image/value via the ACUL SDK.

To generate a new Captcha challenge, the entire login page must be refreshed. This re-initiates the GET /u/login request, generating a fresh context containing a new Captcha image.

If the use case requires a dynamic Captcha reload without a full page refresh, please share the requirements on our Product Feedback Page.

Recommended content

No recommended content found...