Issue
- Our company has a few external clients whose users have unique screen names, but all share one email address. This is causing various conflicts such as two users being unable to sign in simultaneously.
- The error in log looks like this below:
WARN [https-jsse-nio-0000-exec-000] [LDAPUserImporterImpl:000]
Problem accessing LDAP server A user with company 12345 and email address
test@example.com is already in use com.liferay.portal.kernel.exception.SystemException
Environment
- DXP 7.0
- DXP 7.1
- DXP 7.2
- DXP 7.3
- DXP 7.4
Resolution
- There is no current supported way to remove the requirement for unique email addresses that allows multiple users to share the same email address.
- Liferay was designed with both unique email addresses and screen names in mind making them absolutely vital to authentication.
Additional Information
- All that said if you reference the below article you can authenticate by screen name, but this just means that an auto-generated email will be created in the background. This is just a workaround and again DOES NOT remove the requirement for unique addresses: Importing-LDAP-Users-With-The-Same-Email-Address