| 1 |
Publik |
| 2 |
======= |
| 3 |
|
| 4 |
|image0| |
| 5 |
|
| 6 |
Presentation |
| 7 |
------------ |
| 8 |
|
| 9 |
Publik is an open-source citizen relationship management tool. |
| 10 |
|
| 11 |
See `the official Publik website <https://publik.entrouvert.com/>`__ for a |
| 12 |
complete presentation. |
| 13 |
|
| 14 |
It feature an OpenID Connect login that work with LemonLDAP::NG. |
| 15 |
|
| 16 |
Configuring Publik |
| 17 |
------------------- |
| 18 |
|
| 19 |
Connect to your publik instance authentic2 webui with an Admin user, in the admin panel, go to "Authentic2_Auth_Oidc" › "Oidc providers". |
| 20 |
|
| 21 |
Click on "Add Oidc Provider". |
| 22 |
|
| 23 |
* Name : LemonLDAP SSO |
| 24 |
* Short id : lemonldap |
| 25 |
* Provider : https://auth.example.com/ |
| 26 |
* Client id : clientid |
| 27 |
* Client secret : secret |
| 28 |
* Authorization endpoint : https://auth.example.com/oauth2/authorize |
| 29 |
* Token endpoint : https://auth.example.com/oauth2/token |
| 30 |
* Userinfo endpoint : https://auth.example.com/oauth2/userinfo |
| 31 |
* End session endpont : https://auth.example.com/oauth2/logout |
| 32 |
* WebKey JSON : Copy/Paste the content of https://auth.example.com/oauth2/jwks |
| 33 |
* Claims Enabled : yes |
| 34 |
* Show on connection page : yes |
| 35 |
|
| 36 |
Strategy and Collectivity can be configured based to your needs. |
| 37 |
|
| 38 |
OIDC Claim mappings can be configured based on your needs. |
| 39 |
|
| 40 |
Configuring LemonLDAP |
| 41 |
~~~~~~~~~~~~~~~~~~~~~ |
| 42 |
|
| 43 |
We now have to configure LemonLDAP::NG to recognize publik as a valid OIDC relying party. |
| 44 |
|
| 45 |
Add a :doc:`new OpenID Connect relying party<..//idpopenidconnect>` |
| 46 |
with the following parameters (Options -> Basic) : |
| 47 |
|
| 48 |
* **Client ID**: the same you set in Publik configuration. |
| 49 |
* **Client Secret**: the same you set in Publik configuration. |
| 50 |
* **Allowed redirection addresses for login**: The "Callback URL" for authentic2 : https://authentic2-instance/accounts/oidc/callback/ |
| 51 |
|
| 52 |
And in Options -> Logout |
| 53 |
|
| 54 |
* **Allowed redirection addresses for logout**: The "Logout URL" for authentic2 : https://authentic2-instance/logout/ |
| 55 |
|
| 56 |
.. |image0| image:: /applications/logo-publik.png |
| 57 |
:class: align-center |