This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision |
en:2.0:single_sign_on:saml_dokuwiki [2025/04/25 10:51] – kainhofer | en:2.0:single_sign_on:saml_dokuwiki [2025/05/05 20:21] (current) – kainhofer |
---|
| |
| |
TODO: Describe signing and encryption settings (synced) | The plugin also provides settings to define whether signatures are expected or not. Choose whichever security level is desired, but make sure that the settings in DokuWiki and in Admiodio are consistent: |
{{ :en:2.0:sso:sso_saml_02-07_nc_admidio_clientsetup3.png?direct&600 |}} | {{ :en:2.0:sso:sso_saml_02-07_nc_admidio_clientsetup3.png?direct&600 |}} |
| |
{{ :en:2.0:sso:sso_saml_04-07_dw_saml_enable.png?direct&400 |}} | {{ :en:2.0:sso:sso_saml_04-07_dw_saml_enable.png?direct&400 |}} |
| |
| |
| ==== DokuWiki configuration as text ==== |
| |
| The settings done above in the graphical interface could also be done in the ''conf/local.php'' config file of DokuWiki. The corresponding settings would look like this: |
| |
| <code php> |
| $conf['authtype'] = 'saml'; |
| $conf['superuser'] = '@admin'; |
| $conf['plugin']['saml']['idPEntityID'] = 'https://admidio.local'; |
| $conf['plugin']['saml']['endpoint'] = 'https://admidio.local/modules/sso/index.php/saml/sso'; |
| $conf['plugin']['saml']['slo_endpoint'] = 'https://admidio.local/modules/sso/index.php/saml/slo'; |
| $conf['plugin']['saml']['certificate'] = 'MIIEF.........vlhuSLY'; |
| $conf['plugin']['saml']['use_slo'] = 1; |
| </code> |
| |
==== Setup completed, test Single-Sign-On ==== | ==== Setup completed, test Single-Sign-On ==== |