diff --git a/config/config-template.php b/config/config-template.php index b9c8eb8418a2da9d3bb2ba745608a0accc01df1b..064489daff908cae688f2cf7359783fc142bfff8 100644 --- a/config/config-template.php +++ b/config/config-template.php @@ -74,6 +74,13 @@ $config = array ( 'auth.radius.port' => '1812', 'auth.radius.secret' => 'topsecret' + /* + * These parameters are only relevant if you setup an OpenID Provider. + */ + 'openid.userid_attributename' => 'eduPersonPrincipalName', + 'openid.delegation_prefix' => 'https://openid.feide.no/', + 'openid.filestore' => '/tmp/openidstore', + ); diff --git a/metadata-templates/openid-provider.php b/metadata-templates/openid-provider.php new file mode 100644 index 0000000000000000000000000000000000000000..d910701f2f4b1f8f2dfabf71fab836a13230ec92 --- /dev/null +++ b/metadata-templates/openid-provider.php @@ -0,0 +1,22 @@ +<?php +/* + * OpenID Provider configuration + * + */ + + +$metadata = array( + + // Use the hostname as the array key + 'openidserver.example.org' => array( + + // The hostname of the server (VHOST) that this SAML entity will use. + 'host' => 'openidserver.example.org', + + // Authentication plugin to use. auth/login.php is the default one that uses LDAP. + 'auth' => 'saml2/sp/initSSO.php' + ) + +); + +?>