Warning
This repository has been archived and is no longer maintained. The code is provided for historical reference and may contain unpatched or unknown vulnerabilities. It should not be used in production systems. For more information, please contact hhs_github_service_desk@hhs.gov.
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-uwpoashNext 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',