forked from coop-cloud/mediawiki
36feb5062d
Main issue is how to customise the virtual host configuration of the Mediawiki container to pass /simplesamlphp/ through to the right directory (or reverse proxy to the `simplesamlphp` container)
61 lines
2.4 KiB
PHP
61 lines
2.4 KiB
PHP
<?php
|
|
/**
|
|
* SAML 2.0 remote IdP metadata for SimpleSAMLphp.
|
|
*
|
|
* Remember to remove the IdPs you don't use from this file.
|
|
*
|
|
* See: https://simplesamlphp.org/docs/stable/simplesamlphp-reference-idp-remote
|
|
*/
|
|
|
|
/*
|
|
* WISE-RA Members area login.
|
|
*/
|
|
// $metadata['https://service.iww.org.uk/simplesaml/saml2/idp/metadata.php'] = array(
|
|
// 'name' => array(
|
|
// 'en' => 'WISE-RA (production)',
|
|
// ),
|
|
// 'description' => 'Log in using your WISE-RA members area user name.',
|
|
// 'SingleSignOnService' => 'https://service.iww.org.uk/simplesaml/saml2/idp/SSOService.php',
|
|
// 'SingleLogoutService' => 'https://service.iww.org.uk/simplesaml/saml2/idp/SingleLogoutService.php',
|
|
// 'privatekey' => 'saml.pem',
|
|
// 'certificate' => 'saml.crt',
|
|
// );
|
|
$metadata['https://wisera.auth.dev.iww.org.uk/simplesaml/saml2/idp/metadata.php'] = array(
|
|
'name' => array(
|
|
'en' => 'WISE-RA (dev)',
|
|
),
|
|
'description' => 'Log in using your WISE-RA members area user name.',
|
|
'SingleSignOnService' => 'https://wisera.auth.dev.iww.org.uk/simplesaml/saml2/idp/SSOService.php',
|
|
'SingleLogoutService' => 'https://wisera.auth.dev.iww.org.uk/simplesaml/saml2/idp/SingleLogoutService.php',
|
|
'privatekey' => 'saml.pem',
|
|
'certificate' => 'saml.crt',
|
|
);
|
|
$metadata['https://nara.auth.dev.iww.org.uk/simplesaml/saml2/idp/metadata.php'] = array(
|
|
'name' => array(
|
|
'en' => 'NARA (dev)',
|
|
),
|
|
'description' => 'Log in using your NARA red card username.',
|
|
'SingleSignOnService' => 'https://nara.auth.dev.iww.org.uk/simplesaml/saml2/idp/SSOService.php',
|
|
'SingleLogoutService' => 'https://nara.auth.dev.iww.org.uk/simplesaml/saml2/idp/SingleLogoutService.php',
|
|
'privatekey' => 'saml.pem',
|
|
'certificate' => 'saml.crt',
|
|
);
|
|
|
|
/*
|
|
* Guest IdP. allows users to sign up and register. Great for testing!
|
|
*/
|
|
/*
|
|
$metadata['https://openidp.feide.no'] = array(
|
|
'name' => array(
|
|
'en' => 'Feide OpenIdP - guest users',
|
|
'no' => 'Feide Gjestebrukere',
|
|
),
|
|
'description' => 'Here you can login with your account on Feide RnD OpenID. If you do not already have an account on this identity provider, you can create a new one by following the create new account link and follow the instructions.',
|
|
|
|
'SingleSignOnService' => 'https://openidp.feide.no/simplesaml/saml2/idp/SSOService.php',
|
|
'SingleLogoutService' => 'https://openidp.feide.no/simplesaml/saml2/idp/SingleLogoutService.php',
|
|
'certFingerprint' => 'c9ed4dfb07caf13fc21e0fec1572047eb8a7a4cb'
|
|
);
|
|
*/
|
|
|