Hi,
I've just implemented simpleSAMLphp SSO with ADFS and it works great on several apps from my intranet.
When I test from the apache alias (https://wiki.mydomain.local/simplesaml), I connect successfully and I can get correct informations from claim list.
However, with Mediawiki and the extension SimpleSAMLphp, I can't connect.
______
When I try, browser is stuck in a loop :
Special:UserLogin --> Special:PluggableAuthLogin --> index.php?title=Special:UserLogin/return&wpLoginToken=... --> Special:UserLogin --> etc.
______
I've tried to put some var_dump in extensions/SimpleSAMLphp/SimpleSAMLphp.php, to track things.
So I know the authenticate function returns true and find correct user (with good $id and $username, the user already exists in mediawiki.mwuser table).
I have no clue about what's happening here, any idea ?
______
Some infos :
- PHP 7.1.13 (on Gentoo)
- Apache 2.4.27-r1
- SimpleSAMLphp 1.15.4 is using sqlite for session store (I had the same problem with 1.15.3)
- MediaWiki 1.27.3 (using postgresql as backend)
- tried with Firefox, Chrome, IE and Edge