Hi,
Since the use case is very specific, I don't think it is in CAS yet.
However, you might be able to do something like this to make your use case work:
1. Override ValidateCaptchaAction
- In doExecute, check for your desired case and return null to stop recaptcha from activiting only in selected case
- You can check the get param / check the flow value / check serviceId etc in here
2. Add a custom class extending CasCaptchaConfiguration
3. Then, setup your src/main/resources/META-INF/spring.factories to include your configuration
See if this is helpful to you
Cheers,
- Andy