On 2 December 2016 at 20:24, Pete Olsen <
hepa...@gmail.com> wrote:
> Manilal,
> I am trying to set the sessions as you suggested, Check out my latest post
> with the settings I am trying. Can you share your settings?
There are two changes - I'm using the newer PluggableAuth and
SimpleSAMLphp extensions. Secondly, SimpleSAMLphp (idP) is configured
to use MySQL as the session storage. We had trouble using PHPSESSION
and we reconfigured to use SQL for session storage.
I'm not sure whether simply changing the session name make this works.
MediaWiki documentation has explicitly mentioned that you need to use
something other than PHPSESSION for store.type in SimpleSAMLphp.
Following is the excerpt from their doc:
"SimpleSAMLphp cannot be configured to use phpsession for store.type,
since this is not compatible with MediaWiki's session management
framework..."
Following is the config from SimpleSAMLphp/config/config.php
'store.type' => 'sql'
'store.sql.dsn' =>
'sqlite:/home/www/html/SimpleSAMLphp/sessionstore.sqlite',
Following are the config from MediaWiki/LocalSettings.php
##pluggable auth
wfLoadExtension( 'PluggableAuth' );
$wgPluggableAuth_EnableAutoLogin = false;
$wgPluggableAuth_EnableLocalLogin = false;
$wgPluggableAuth_Class = "SimpleSAMLphp";
##simplesamlauth
wfLoadExtension( 'SimpleSAMLphp' );
$wgSimpleSAMLphp_InstallDir = '/home/www/html/simplesaml-dev/';
$wgSimpleSAMLphp_AuthSourceId = 'default-sp';
$wgSimpleSAMLphp_RealNameAttribute = 'cn';
$wgSimpleSAMLphp_EmailAttribute = 'mail';
$wgSimpleSAMLphp_UsernameAttribute = 'uid';
Hope this helps.
regards,
Manilal