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

fix: :bug: Fix ACR processing using authSwitcher

parent f798474f
No related branches found
No related tags found
1 merge request!41fix: 🐛 Fix ACR processing using authSwitcher
Pipeline #221244 passed
...@@ -7,6 +7,7 @@ namespace SimpleSAML\Module\elixir; ...@@ -7,6 +7,7 @@ namespace SimpleSAML\Module\elixir;
use SimpleSAML\Auth\State; use SimpleSAML\Auth\State;
use SimpleSAML\Configuration; use SimpleSAML\Configuration;
use SimpleSAML\Logger; use SimpleSAML\Logger;
use SimpleSAML\Module\authswitcher\DiscoUtils;
use SimpleSAML\Module\discopower\PowerIdPDisco; use SimpleSAML\Module\discopower\PowerIdPDisco;
use SimpleSAML\Module\elixir\discowarning\WarningConfiguration; use SimpleSAML\Module\elixir\discowarning\WarningConfiguration;
use SimpleSAML\Utils\HTTP; use SimpleSAML\Utils\HTTP;
...@@ -99,6 +100,7 @@ class Disco extends PowerIdPDisco ...@@ -99,6 +100,7 @@ class Disco extends PowerIdPDisco
$this->originalAuthnContextClassRef = $this->originalAuthnContextClassRef =
$state[self::SAML_REQUESTED_AUTHN_CONTEXT][self::AUTHN_CONTEXT_CLASS_REF]; $state[self::SAML_REQUESTED_AUTHN_CONTEXT][self::AUTHN_CONTEXT_CLASS_REF];
$this->removeAuthContextClassRefWithPrefixes($state); $this->removeAuthContextClassRefWithPrefixes($state);
DiscoUtils::setUpstreamRequestedAuthnContext($state);
State::saveState($state, self::SAML_SP_SSO); 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