Hide Email Verification in Azure B2C Custom Policy
Wrestle with inflexible email verification in your π Sign-In, Sign-Up, and Password Reset journeys? This guide reveals the secrets to customizing π§ email verification for each flow, empowering you to optimize user experience and unlock greater control.
No more one-size-fits-all frustration! Embrace the power of tailored email verification and transform your Azure AD B2C into a user-centric haven.
Email verification is a default step in most of the flows like SignIn, SignUp, Password Reset, etc.
Approach is slightly different for each flow.
For SignIn Journey
-
Find the technical profile that reads user data
AAD-UserReadUsingEmailAddress
-
Add following item under metadata tag
1 2 3
<Metadata> <Item Key="EnforceEmailVerification">false</Item> </Metadata>
For Password Reset Journey
-
Find the technical profile that reads user data
AAD-UserReadUsingEmailAddress
-
Add following item under metadata tag
1 2 3
<Metadata> <Item Key="EnforceEmailVerification">false</Item> </Metadata>
-
In Password Reset Journey replace the call to
AAD-UserReadUsingEmailAddress
withLocalAccountDiscoveryUsingEmailAddress
Comments powered by Disqus.