Skip to content

Auth::SAML serialize data in between auth steps (#2994)

Maxime Besson requested to merge fix-saml-logout-2fa-2994 into v2.0

This fixes #2994 (closed) by using an explicit afterData step in Auth::SAML instead of modifying $req->steps (as mentionned in #3000, $req->steps is not preserved by the 2FA flow)

Special point of attention: in order for it to work with Choice, I also had to modify Lib::Wrapper to look at $req->sessionInfo->{_choice} because $req->data->{enabledModsX} is also not preserved by the 2FA flow

Merge request reports