So, my next project. We have a custom made portal with an own user database. We wanted to use a Wiki, so I installed MediaWiki on a separate sub-domain. Having multiple accounts is so 1990, therefor integration was wished. That was not as easy as I hoped. Therefore, my solution was: Single Sign On.
IDP
Step 1, installed SimpleSAMLphp as an IDP on the sub-domain sso.myportal.nu Created my own Module which looks up users in my database. Logging in to the SimpleSAMLphp admin portal, to test/verify if it works, looks great (screenshot attached).
SP
Step2, installed SimpleSAMLphp as an SP on the sub-domain wiki.myportal.nu Hooked the SP up to my IDP. Logging in to the SimpleSAMLphp admin portal, to test/verify if it works, looks great. I get authenticated through the IDP in my user database (screenshot attached).
MediaWiki
Then installed two plugins into MediaWiki;
https://www.mediawiki.org/wiki/Extension:PluggableAuth https://www.mediawiki.org/wiki/Extension:SimpleSAMLphp
That should enable SSO.
When clicking on the Login link in MediaWiki, I get redirected to the logon page of SimpleSAMLphp on sso.myportal.nu ā so far so good. But, contrary to my expectations.. Logging in, does not work. It seems that I get redirected between sso.myportal.nu and wiki.myportal.nu
I've enabled DEBUG mode, the only Warnings I see seem to be this:
Could not load state specified by InResponseTo: NOSTATE Processing response as unsolicited.
I have the config files and log files from both the SimpleSAMLphp installations attached below (a bit too much text to copy/paste here). config and log files After a day and a half looking through Google, Iām kind of stuck. Anyone here any ideas?