SamlSingleSignOnAuth by miniOrange enables MediaWiki to use SAML 2.0 to SSO with SAML complaint IDP.
MediaWiki 1.25+
Download the extension ZIP and extract ZIP to mediawiki host under extensions folder (e.g. mediawiki/extensions). Folder extracted should be SamlSingleSignOnAuth.
wfLoadExtension( 'SamlSingleSignOnAuth' );
$wgMoSamlIdpName = 'miniOrange';
$wgMoSamlIssuer = 'https://auth.miniorange.com/moas';
$wgMoSamlLoginURL = 'https://auth.miniorange.com/moas/idp/samlsso';
$wgMoSamlLogoutURL = 'https://auth.miniorange.com/moas/idp/samlsso';
$wgMoSamlLoginBindingType = 'HttpRedirect';
$wgMoSamlX509CertDesc = '-----BEGIN CERTIFICATE----- . . . . . . . . . . . . -----END CERTIFICATE-----';
$wgMoSamlIsBrokerOn = false;
$wgMoSamlRelayState = '';
$wgMoSamlIsResponseSigned = false;
$wgMoSamlIsAssertionSigned = true;
$wgMoSamlUpdateUser = true;
$wgMoSamlCreateUser = true;
$wgMoSamlEmailAttr = 'email'; $wgMoSamlUsernameAttr = 'username'; $wgMoSamlFNameAttr = 'fname'; $wgMoSamlLNameAttr = 'lname'; $wgMoSamlGroupAttr = 'role';
$wgMoSamlDefaultGroup = 'user';
$wgMoSamlServer = 'http://<MEDIAWIKI_DOMAIN>/mediawiki';
$wgMoSamlHostName = 'https://auth.miniorange.com';
$wgMoSamlCustomerKey = 12345;
$wgMoSamlRegisteredOnlyAccess = false;
1.1.1
- Fix for HTML not getting loaded on login page
For any queries or issues, please drop an email at [email protected] or you can submit a query at https://www.miniorange.com/contact.