Skip to content
Snippets Groups Projects
Commit 64a00f34 authored by Dominik František Bučík's avatar Dominik František Bučík
Browse files

Merge branch 'fix_mfa' into 'main'

fix: :bug: Fix ACR processing using authSwitcher

See merge request perun-proxy-aai/simplesamlphp/simplesamlphp-module-elixir!41
parents f798474f a00802a0
No related branches found
No related tags found
1 merge request!41fix: 🐛 Fix ACR processing using authSwitcher
Pipeline #221258 passed with warnings
......@@ -7,6 +7,7 @@ namespace SimpleSAML\Module\elixir;
use SimpleSAML\Auth\State;
use SimpleSAML\Configuration;
use SimpleSAML\Logger;
use SimpleSAML\Module\authswitcher\DiscoUtils;
use SimpleSAML\Module\discopower\PowerIdPDisco;
use SimpleSAML\Module\elixir\discowarning\WarningConfiguration;
use SimpleSAML\Utils\HTTP;
......@@ -99,6 +100,7 @@ class Disco extends PowerIdPDisco
$this->originalAuthnContextClassRef =
$state[self::SAML_REQUESTED_AUTHN_CONTEXT][self::AUTHN_CONTEXT_CLASS_REF];
$this->removeAuthContextClassRefWithPrefixes($state);
DiscoUtils::setUpstreamRequestedAuthnContext($state);
State::saveState($state, self::SAML_SP_SSO);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment