Skip to content

Commit

Permalink
Fix SFO level 1.5 and some other small issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pmeulen committed Aug 7, 2024
2 parents a5c6d0c + 8a64452 commit 42c479d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h3>Test accounts</h3>
<li>a <b>suffix</b> with an account number or role, these are meant as a mnemonic and do not change the behaviour of the account/</li>
</ol>

<p>See below available prefixes, institutions and suffixes. A test account is created for each combination of prefix, institution and suffix.
<p>See below for the available prefixes, institutions and suffixes. A test account is created for each combination of prefix, institution and suffix.
Pay attention to the hyphens in the suffixes, 1-5 do not have them, the other suffixes do.</p>
<p>Examples: <code>joe-a1</code>, <code>jane-b2</code>, <code>user-d4</code>, <code>jane-a-raa</code>, <code>joe-e-ra</code>, <code>user-d-tiqr</code></p>

Expand Down
4 changes: 2 additions & 2 deletions docker/sspwww/sp-config.inc
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ $gIDPmap = array(
'https://gateway.dev.openconext.local/second-factor-only/metadata' => array(
'name' => 'OpenConext Stepup Gateway - gateway.dev.openconext.local - SFO',
'loa' => array(
"1" => 'http://dev.openconext.local/assurance/sfo-level1', // Note does not exist
"1.5" => 'http://dev.openconext.local/assurance/sfo-level1', // Note does not exist
"1" => '1', // level1 does not exist for SFO
"1.5" => 'http://dev.openconext.local/assurance/sfo-level1.5',
"2" => 'http://dev.openconext.local/assurance/sfo-level2',
"3" => 'http://dev.openconext.local/assurance/sfo-level3',
),
Expand Down
2 changes: 1 addition & 1 deletion docker/sspwww/sp.php
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@
/** @var $session SimpleSAML_Session */
$requestedLOA = htmlentities($session->getData('string', 'RequiredAuthnContextClassRef') ?? '' );
$IdPEntityID = htmlentities($as->getAuthData('saml:sp:IdP'));
$sessionIndex = htmlentities($as->getAuthData('saml:sp:SessionIndex'));
$sessionIndex = htmlentities($as->getAuthData('saml:sp:SessionIndex') ?? '');
$authState = $session->getAuthState($sp);
//echo "<pre>"; print_r($authState); echo "</pre>";
$authenticationAuthority=$authState['saml:AuthenticatingAuthority']; // Array of AuthenticatingAuthority's
Expand Down

0 comments on commit 42c479d

Please sign in to comment.