Install with composer
"repositories": [
{
"type": "package",
"package": {
"name": "hhs/simplesamlphp-module-uwpoash",
"type": "simplesamlphp-module",
"version": "1.0",
"source": {
"url": "https://github.com/hhs/simplesamlphp-module-uwpoash.git",
"type": "git",
"reference": "master"
}
}
}
],
composer require hhs/simplesamlphp-module-uwpoash
Next thing you need to do is to enable the module: in config.php
,
search for the module.enable
key and set uwpoash
to true:
'module.enable' => [
'uwpoash' => true,
…
],
…
'authproc.sp' => [
…
60 => [
'class' => 'uwpoash:Authorize',
'deny' => true,
'IAL' => [
'value' => '3',
'operator' => '<',
],
'AAL' => [
'value' => '3',
'operator' => '<',
'exception' => 'PIVException',
],
'errorURL' => true,
'appName' => 'AMS-APP-LOA4',
'loginURL' => sprintf('https://%s.odphp.health.gov/saml_login', $_ENV['DEPLOYMENT_GROUP_NAME']),
'show_user_attribute' => 'EmailAddress',
],
…
],
To use the OASH theme, you may also use this module as a theme:
'theme.use' => 'uwpoash:uwp',