You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Duplicated contact records - via SSO/Connect API

Received Response
edited Jun 7, 2022 1:15PM in General Technical Discussions 1 comment


We have Contact SSO implemented in an instance. So via pre_login hooks, the function checks whether a contact record is already in the system, if not create one. I searched all over the forum for how service cloud prevent duplicated contact records.

So via two browser tabs I tried to login to the IDP at the same time (same credentials) and it eventually created two duplicated contact records. Email sharing is disabled. Contact.login and address has the same exact data. It didn't even add the extension if there is duplicate (eg: username.001)

There is no way to put a unique index on contact otherwise we would have tried that.

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!