Error creating a user that already exists with an external idp

Hi, I’m trying to create a user using an external identity provider, everything works fine but if the user already exists whent i try to create the user through the idp i get this error:

{
“error”: “invalid_token”,
“error_description”: “User already exists”
}

And in the logs i can see error=federated_identity_account_exists

Is there a way to force to overwrite this user creation and not getting this error?

Thanks in advance

It depends on how your first broker login Authentication Flow is configured. The default should challenge the user to “merge” accounts. There is also an option to automatically link the accounts.