samples icon indicating copy to clipboard operation
samples copied to clipboard

Allow only SignUp with MFA

Open WalidGh91 opened this issue 2 years ago • 0 comments
trafficstars

Hello Guys, I'm new to GitHub and customer policies, I hope you can help me!

I followed the custom policy in this link to sign in/ up using mfa method, it works fine for sign in, however our scenario says that sign in and sign up should be accessed by two different and separate links. So I created a new SignUpOnlyMFA custom policy where I copied the original policy (SignUpOrSignin_PhoneOrEmailMFA.xml) and tried to update it in such a way to allow ONLY SIGN UP with specific claims.

The SignUpOrSignin_PhoneOrEmailMFA.xml that I tried to update in order to allow only SignUp didn't work as expected: it shows me the contentdefinition that we already want but with SignIn claims!

Tried so many solutions but it looks like I missed something important. I'm really lost and confused!

Below is the one that shows me right contentdefinition but wrong claims and fields: netronicjpi.onmicrosoft.com-B2C_1A_SIGNUP_PHONEOREMAILMFA.txt

Thank you for your help in advance! and I'm ready for any further questions!

WalidGh91 avatar Jun 09 '23 09:06 WalidGh91