samples icon indicating copy to clipboard operation
samples copied to clipboard

Invite Policy with Phone MFA

Open heatherjoanne44 opened this issue 4 years ago • 1 comments

So we are using the invite policy but with a little twist. Instead of having the policy create the user, an admin creates the user but sets the account as disabled, and then we use the invite sample to send an email to the user and then the user goes through a flow that looks up the user based on the email, prompts the user to set up phone mfa, and then enables the account once mfa is set up. The problem I am experiencing though is I cant seem to get PhoneFactor-InputOrVerify to execute in this scenario. However, during troubleshooting, I noticed if I enable the account first, sign in and out of the application, and then complete the flow, it works as expected. Is there a requirement that the user has to be signed in to set phone mfa?

heatherjoanne44 avatar Jan 25 '21 14:01 heatherjoanne44

The problem I am experiencing though is I cant seem to get PhoneFactor-InputOrVerify to execute in this scenario.

What is the observation? Did you check the preconditions?

I wouldn’t expect accountEnabled value to have an issue with performing MFA.

JasSuri avatar Feb 05 '21 21:02 JasSuri