New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sharedIdSystem: return pubcid instead of sharedId #7099
Conversation
@NothingIsMatter Mind taking a look here? |
@ChrisHuie re: "return pubcid instead of sharedId 4 days ago" can you add more here? The user id generated by the modules formally known as pubcommon and sharedid, were just random string generators. The user id output of either shouldn't matter. The intention was to have a guid set in a 1pc, then added to the eids array using pubcid.org as the source. |
Let me give a scenario to help raise the alarm a little ;-) Given default Bidders receive
The value is a UUID created on the page (by sharedIdSystem's Then I look at the cookies in developer tools. I see the cookies created via sharedIdSystem: They are set to the same ULID value from sharedid server. The callback, which is run after the auction, replaces the established UUID with the ULID. Note: this will also happen to existing users (not just new users) when So on the next page load, bidders receive
For completeness,
Only pubcid.org here which is expected after reading the code - sharedId is filtered out (or do we want to see two items in the sharedIdSystem manages the storage of |
Hey @philipwatson thanks for the example, we are taking a look, it does indeed look like a problem. What we want in the eids array according to you example is indeed.
|
@philipwatson Are there more changes coming to this pr? Sounded like possible revisions from the comments. If not though if you could pull in the latest commits from master so tests are passing for this pr 🙏 |
No more changes coming in this PR. |
@philipwatson The SharedIdSystem need not call the Sharedid endpoint. The same has been updated in #7149 and the SharedIdSystem module is cleaned up to removed read/write cookie. Please take a look at this PR. |
Type of change
Description of change
I had a look at
sharedIdSystem.js
after the changes made in #6808 for issue #6640I'm confused.
It doesn't make sense to me that the
sharedId
is passed into the callback. Should it bepubcid
instead?It could do with more tests. I didn't invest much time there because my understanding could be wrong.
From unit testing, I noticed
storage.expires
in the storeData function does not exist (or does it?). So I changed toconfig.storage.expires
. Not sure if this is correct.