| 1 |
CaptchEtat |
| 2 |
========== |
| 3 |
|
| 4 |
|beta| |
| 5 |
|
| 6 |
this plugin has not been tested in production yet, its behavior and |
| 7 |
parameters are subject to change in future versions |
| 8 |
|
| 9 |
Presentation |
| 10 |
------------ |
| 11 |
|
| 12 |
CaptchEtat is a CAPTCHA system provided by the French government |
| 13 |
|
| 14 |
Configuration |
| 15 |
------------- |
| 16 |
|
| 17 |
Configure captcha like :doc:`LLNG internal captcha<captcha>` but use a |
| 18 |
"custom captcha module", set: |
| 19 |
|
| 20 |
- **Captcha module** to ``::Captcha::CaptchEtat`` |
| 21 |
- in **Captcha module options**, add the following keys |
| 22 |
- ``clientId``: client ID to obtain access tokens |
| 23 |
- ``clientSecret``: client secret to obtain access tokens |
| 24 |
- ``oauthTokenEndpoint``: endpoint to obtain access tokens |
| 25 |
- ``oauthScope``: authorization scope for access tokens (such as ``piste.captchetat``) |
| 26 |
- ``captchaStyleName``: CAPTCHA style name (such as ``captchaFR``) |
| 27 |
- ``captchaApiBase``: base URL of the CaptchEtat API ( such as ``https://xxx.example.com/piste/captchetat/v2`` ) |
| 28 |
|
| 29 |
|
| 30 |
.. |beta| image:: /documentation/beta.png |