Security: A second factor only from the signed SAML assertion
Description
A SAML login took its authentication context, which proves a second factor, from anywhere in the response. When the identity provider signs only the assertion, as Entra ID and ADFS do by default, an extra context outside the assertion could pretend a second factor. The context and the validity times are now read only from the signed assertion.
Impact
Companies that require a second factor from their SAML provider can rely on it again. Nothing changes for responses of a provider that works correctly.