36 lines
892 B
PHP
36 lines
892 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
$config = [
|
|
/* This is the name of this authentication source, and will be used to access it later. */
|
|
'default-sp' => [
|
|
'saml:SP',
|
|
'entityID' => 'https://www.pvv.ntnu.no/simplesaml/',
|
|
'idp' => 'https://idp.pvv.ntnu.no/',
|
|
],
|
|
|
|
'dev-sp' => [
|
|
'saml:SP',
|
|
'entityID' => 'http://localhost:1080/simplesaml/sp',
|
|
'idp' => 'http://localhost:1080/simplesaml/idp',
|
|
],
|
|
|
|
'example-userpass' => [
|
|
'exampleauth:UserPass',
|
|
'users' => [
|
|
'user:user' => [
|
|
'uid' => ['user'],
|
|
'eduPersonAffiliation' => ['member', 'student'],
|
|
],
|
|
'admin:admin' => [
|
|
'uid' => ['admin'],
|
|
'eduPersonAffiliation' => ['member', 'employee'],
|
|
],
|
|
],
|
|
],
|
|
|
|
'admin' => [
|
|
'core:AdminPassword',
|
|
],
|
|
];
|