Email MFA for Universal Login from Rules

Feature: Option to prompt user with email MFA from the Rules

Description: Based on some contextual data (location etc.,) and custom confidence score, prompting users with email MFA rather than Phone MFA

Use-case: We have a use case where we want to have MFA for new device login but we will not have SMS/Voice option due to some logistics concern. We want to use email as the option something like below :

function (user, context, callback) {

  // Forcing the provider to email programmatically
  context.multifactor = {
    provider: 'email'
  };

  callback(null, user, context);
}

Thanks for the feedback!