Score:0

Enabling MFA on some routes when using simpleSAMLphp Authentication?

ng flag

We're having a Drupal 8/9 setup acting as an SP with simpleSAMLphp Authentication module, against Shibboleth IdP. Now there's a need for including an app on certain pages, and the users using that app need to be multi-factor authenticated. By default, only single factor authentication is on. The IdP is not in our control but it supports MFA by passing AuthnContextClassRef with correct value in the authentication request.

Is it possible to alter the SAML2 settings dynamically, by the current route?
Is there any way for Drupal to find out whether an authenticated user is already multi-factor authenticated, and if not, force them to re-authenticate?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.