We are having a bit of a challenge here. Users are...
# talk-kratos
a
We are having a bit of a challenge here. Users are complaining that their account already exists. I think this is because they create their account manually and then try to log in with OIDC (which attempt to create a new account) is there a way to detect when this happens and offer to link an existing account?
I don't see anything to propose the user linking in the self service UI flow though so it's quite unclear how to achieve this
p
Hi @alert-painter-66256 You can inform users that they should use an alternative method of login or recover their account based on the returned error code. But this isn't specific to the method used. Users need to link an OIDC account in their settings page and cannot be linked automatically due to security risks.
l
my issue is that when you try to login with OIDC and the account does not exist you are automatically forwarded to a registration flow, and there is no way to disable this behavior
a
Yes that is exactly our issue as well. It’s especially confusing to our users
If we can catch this behaviour somehow then we can inform them that they should try to login with their credentials or something. But right now it’s raining complaints.