| 1 |
ITSM NG |
| 2 |
======= |
| 3 |
|
| 4 |
|image0| |
| 5 |
|
| 6 |
Presentation |
| 7 |
------------ |
| 8 |
|
| 9 |
`ITSM-NG <https://www.itsm-ng.org/>`__ is a fork of GLPI. The software's main features are: assets management, IT inventory, service desk, dashboards, KB... |
| 10 |
|
| 11 |
ITSM-NG is compatible with OpenID Connect protocol. |
| 12 |
|
| 13 |
OpenID Connect |
| 14 |
-------------- |
| 15 |
|
| 16 |
Configuring ITSM-NG |
| 17 |
^^^^^^^^^^^^^^^^^^^ |
| 18 |
|
| 19 |
The configuration steps are described on `ITSM-NG wiki <https://wiki.itsm-ng.org/oidc/>`__. |
| 20 |
|
| 21 |
Just set LemonLDAP::NG main portail URL in ``Provider`` field, and define ``Client ID`` and ``Client Secret``. |
| 22 |
|
| 23 |
Configuring LemonLDAP::NG |
| 24 |
^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 25 |
|
| 26 |
If not done yet, configure LemonLDAP::NG as an |
| 27 |
:doc:`OpenID Connect service<..//openidconnectservice>`. |
| 28 |
|
| 29 |
Then add ITSM-NG as a :doc:`new OpenID Connect Relying Party<..//idpopenidconnect>` |
| 30 |
using the following parameters: |
| 31 |
|
| 32 |
* **Client ID**: the same you set in ITSM-NG configuration |
| 33 |
* **Client Secret**: the same you set in ITSM-NG configuration |
| 34 |
* Add the following **exported attributes**: |
| 35 |
* **given_name**: user's givenName attribute |
| 36 |
* **family_name**: user's sn attribute |
| 37 |
* **email**: user's mail attribute |
| 38 |
* **Login and Logout Redirect URIs**: The main URL of ITSM-NG instance |
| 39 |
|
| 40 |
Configuration sample using CLI: |
| 41 |
|
| 42 |
:: |
| 43 |
|
| 44 |
$ /usr/libexec/lemonldap-ng/bin/lemonldap-ng-cli -yes 1 \ |
| 45 |
addKey \ |
| 46 |
oidcRPMetaDataExportedVars/itsmng given_name givenName \ |
| 47 |
oidcRPMetaDataExportedVars/itsmng family_name sn \ |
| 48 |
oidcRPMetaDataExportedVars/itsmng email mail \ |
| 49 |
oidcRPMetaDataOptions/itsmng oidcRPMetaDataOptionsClientID myClientId \ |
| 50 |
oidcRPMetaDataOptions/itsmng oidcRPMetaDataOptionsClientSecret myClientSecret \ |
| 51 |
oidcRPMetaDataOptions/itsmng oidcRPMetaDataOptionsRedirectUris 'https://itsmng.example.com' \ |
| 52 |
oidcRPMetaDataOptions/itsmng oidcRPMetaDataOptionsPostLogoutRedirectUris 'https://itsmng.example.com' \ |
| 53 |
oidcRPMetaDataOptions/itsmng oidcRPMetaDataOptionsIDTokenSignAlg RS512 \ |
| 54 |
oidcRPMetaDataOptions/itsmng oidcRPMetaDataOptionsIDTokenExpiration 3600 \ |
| 55 |
oidcRPMetaDataOptions/itsmng oidcRPMetaDataOptionsAccessTokenExpiration 3600 \ |
| 56 |
oidcRPMetaDataOptions/itsmng oidcRPMetaDataOptionsBypassConsent 1 |
| 57 |
|
| 58 |
.. tip:: |
| 59 |
|
| 60 |
Declare all attributes that you need to map in ITSM-NG configuration. These attributes must be returned by the scopes requested by ITSM-NG. |
| 61 |
|
| 62 |
.. |image0| image:: /applications/itsm-ng.png |
| 63 |
:class: align-center |
| 64 |
|