The SSOAutoLogin updates the Liferay user's email, if the user was not found by email, but by external id (see SSOAutoLogin.updateLiferayUserEmailIfNecessary())
Experience shows that it may happen that a Liferay user has an incorrect (most often missing) external id. In these cases, it makes sense to update the external id. Otherwise, if the user changes the email, then the account cannot be found in Liferay neither by email, nor by external id and yet creation of the new user account will probably fail due to non-unique screen name.
The SSOAutoLogin updates the Liferay user's email, if the user was not found by email, but by external id (see
SSOAutoLogin.updateLiferayUserEmailIfNecessary()
)Experience shows that it may happen that a Liferay user has an incorrect (most often missing) external id. In these cases, it makes sense to update the external id. Otherwise, if the user changes the email, then the account cannot be found in Liferay neither by email, nor by external id and yet creation of the new user account will probably fail due to non-unique screen name.