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;
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.
Finish editing this message first!
Please register or to comment