I have added a custom field to the profile and made it mandatory. So user has to enter it during registration. I need to check if its unique in the DB just like email field is done, “Primary email has already been taken”.
What could be the possible ways to do it. I don’t want to use SSO at this point.