Documentation for #2661

This commit is contained in:
Maxime Besson 2021-11-23 12:01:35 +01:00
parent 97328a85b2
commit 1f30be3634
2 changed files with 38 additions and 0 deletions

View File

@ -25,6 +25,23 @@ GET Parameter Need Value
``password`` optional
============= ======== ============================================================
Response
--------
The plugin will respond to the HTTP request with:
* HTTP code 500 if something went wrong
* HTTP code 200 and the following JSON content if something went right
```
{"result":1,"version":"2.0.14"}
```
.. versionadded:: 2.0.14
The *version* key is returned
Example
~~~~~~~

View File

@ -29,6 +29,27 @@ None
2.0.14
------
LemonLDAP::NG version is returned by the CheckState plugin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you use the `/checkstate` URL to monitor LemonLDAP::NG, you may notice a slight change in the output format:
*2.0.13* :
```
{"result":1}
```
*2.0.14* :
```
{"result":1,"version":"2.0.14"}
```
Depending on your load balancer or monitoring configuration, this can cause false negatives.
This plugin is disabled by default, and you may use a shared secret to hide this information to regular users and bots, please check the :doc:`checkstate` documentation for more information.
Empty scopes now rejected in OAuth2.0 grants
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~