Differences
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 [2026/09/04 13:33] – [Setting up the Client (SP) in Admidio] kainhofer | en:2.0:single_sign_on:saml_dokuwiki [2026/09/09 19:19] (current) – [Prerequisites] kainhofer | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| - | As a first step, one needs to **configure Admidio to act as an SAML 2.0 Identity Provider** (IdP). This has to be done once and is not specific to DokuWiki. Please | + | As a first step, one needs to **configure Admidio to act as an SAML 2.0 Identity Provider** (IdP). This has to be done once and is not specific to DokuWiki. Please |
| {{ : | {{ : | ||
| Line 83: | Line 83: | ||
| $conf[' | $conf[' | ||
| $conf[' | $conf[' | ||
| - | $conf[' | + | $conf[' |
| + | MIID4DCCAsigAwIBAgIBADANBg...nS+ViEoHuI2FSMyLpVB5 | ||
| + | -----END CERTIFICATE-----'; | ||
| $conf[' | $conf[' | ||
| </ | </ | ||
| Line 99: | Line 101: | ||
| ==== Caveats and Things to Consider ==== | ==== Caveats and Things to Consider ==== | ||
| - | * Dokuwiki is picky about signatures. If a SAML response is not signed, login will not be possible, but no corresponding error message will be shown. After an apparent login, the user will arrive at dokuwiki with no user logged in (actually, DokuWiki even silently triggers a logout!). Make sure that in Admidio' | + | * Dokuwiki is **picky about signatures**. If a SAML response is not signed, login will not be possible, but no corresponding error message will be shown. After an apparent login, the user will arrive at dokuwiki with no user logged in (actually, DokuWiki even silently triggers a logout!). Make sure that in Admidio' |
| + | * DokuWiki' | ||
| + | * Instead of the logged-in user, DokuWiki sends its own client ID, so Admidio never knows, which user is supposed to be logged out. Only the browser session ID is available. As a workaround, Admidio looks up all logged-in users attached to that browser session and performs a single-log-out on them. | ||
| + | * Single-Log initiated from another SAML client does not log out DokuWiki. Dokuwiki' | ||
| + | * Bug reports have been filed for DokuWiki' | ||
| + | * With the three simple patches proposed in the bug reports, single-log-out works properly. | ||