skip to Main Content

As a Platform Owner, I want to have an API to check if Email ID already exists during Account Creation, so that User can notify Account already exists

Scenario :

User registered using AD or Apple using a particular email ID , when he registers using gmail using the same email id , he is able to register but when is tries to login to application he receives a Profile-Api error by backend CRM.

I am looking for a way a user is notified if the particular email id is present already at the time of registration.

I am still looking for a solution for this issue

2

Answers


  1. In the sign-up custom profile user journey, call a REST API to CRM to check if the user already exists.

    If they do, use a Paragraph to pop up an error message.

    Login or Signup to reply.
  2. As you’ve tagged this as azure-ad-b2c-custom-policy you could enforce the email uniqueness across social and local identities at the time of signing up using the Azure AD B2C directory user profile data. This would save an API call to the external CRM.

    The force-unique-email-across-social-identities sample code walks through what changes you’d need to implement in your Identity Experience Framework Custom Policies.

    If you’re doing this on the built-in User Flows you can use API Connectors – Before Creating the User to validate uniqueness from a backend CRM and prevent the sign-up.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search