Login fails with "Cannot Identify User" error

Problem

Login with Password fails with "Cannot Identify User" error.

Solution

Do not create users that have same email/uid in SSO management and CustomerID if same user attribute is used as login attribute (email/uid).

Cause for this problem is inability to identify specific user when login attribute points at multiple different user entries.

A common way to arrive to this error is to create users from different sources, while not keeping up what is already created.

Solution for this error is to change duplicate user attributes used as login attribute to different unique value.