Skip to content
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

User ID may use stale USP/GPP consent #10276

Closed
dgirardi opened this issue Jul 24, 2023 · 1 comment · Fixed by #10286
Closed

User ID may use stale USP/GPP consent #10276

dgirardi opened this issue Jul 24, 2023 · 1 comment · Fixed by #10286

Comments

@dgirardi
Copy link
Collaborator

dgirardi commented Jul 24, 2023

Type of issue

Bug

Description

The user ID module has some logic to skip UID refresh when TCF consent data has not changed since the last retrieval:

if (!storedId || refreshNeeded || forceRefresh || !storedConsentDataMatchesConsentData(storedConsentData, consentData)) {
// No id previously saved, or a refresh is needed, or consent has changed. Request a new id from the submodule.

The logic does not look at GPP or USP - just TCF. Currently, prebid may continue to use user IDs that were retrieved using GPP/USP consent that was later invalidated.

@patmmccann
Copy link
Collaborator

patmmccann commented Jul 25, 2023

solution may also fix #6433

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

2 participants