In ConnectionSignUp implementation I have to return null to indicate that an implicit local user profile could not be created. I want to check the domain of the user's email and if it does not match a pattern the account can not be created. Returning null in execute method in ConnectionSignUp implementation I can not show to the user an specific error: You can not log in with that account. Please try it again with another one.
How can I face this? Where should I check the domain of the email?
In ConnectionSignUp implementation I have to return null to indicate that an implicit local user profile could not be created. I want to check the domain of the user's email and if it does not match a pattern the account can not be created. Returning null in execute method in ConnectionSignUp implementation I can not show to the user an specific error: You can not log in with that account. Please try it again with another one.
How can I face this? Where should I check the domain of the email?