[keycloak-dev] Keycloak Error : "User with user name XXXX already exists. How do you want to continue"

Kalidindi, Sai Soma Kala sai-soma-kala.kalidindi at microfocus.com
Thu Oct 25 12:24:33 EDT 2018


Hi,

We are planning on upgrading keycloak to latest 4.5.0 version from our old version 1.9.8. reading through the docs we can not directly go from our old 1.9.8 to 4.5.0, we have to upgrade to intermediate versions first. Is this right, if so what is the latest intermediate version we can migrate to, is it 2.5.5.?

Thanks,
Sai.

From: Marek Posolda [mailto:mposolda at redhat.com]
Sent: Thursday, September 20, 2018 11:53 AM
To: Kalidindi, Sai Soma Kala <sai-soma-kala.kalidindi at microfocus.com>
Cc: keycloak-dev <keycloak-dev at lists.jboss.org>
Subject: Re: [keycloak-dev] Keycloak Error : "User with user name XXXX already exists. How do you want to continue"

Hi, this version is very old and no longer supported. Upgrade to the later version (ideally latest) is highly recommended. Marek

Dne st 19. 9. 2018 20:51 uživatel Kalidindi, Sai Soma Kala <sai-soma-kala.kalidindi at microfocus.com<mailto:sai-soma-kala.kalidindi at microfocus.com>> napsal:
Hi,

We are using 1.9.8 version of keycloak. We have few customers,  who has integrated their identity providers like ADFS, OKTA, Ldap ...with our Key cloak and it works. Lately we are seeing this below error message after their successful initial login, this happens to couple of users once in two weeks or so . When they try to login they see the error "User with user name XXXX already exists. How do you want to continue". Initially it used to happens once in few months, at that time,  I would go to user_entity table in keycloak and delete the entry with this username and then when user try to log in, it works and entry gets re-created . This is our fix for now, every time any user hits above error, I delete the entry form user_entity tabel.

Lately it has been happening once in few days, and we are trying to find permanent fix for this. I would like to understand why this is happening after a series of successful logins by the same user .  We are using old version of keycloak, does upgrading to latest version solve this issue? Any recommendation or help on above error is greatly appreciated.

Thanks,
Sai.
_______________________________________________
keycloak-dev mailing list
keycloak-dev at lists.jboss.org<mailto:keycloak-dev at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/keycloak-dev


More information about the keycloak-dev mailing list