Add env var to force TCF env in privacy center #4312
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #4258
Description Of Changes
Context: https://ethyca.atlassian.net/wiki/spaces/EN/pages/2816933901/2023-10-18+Fides-tcf+without+server+side+geolocation
This is the "quick and easy" method. The more work method is poc'd in #4311, but we decided to get this in first (since the poc relies on this work anyway)
Code Changes
FIDES_PRIVACY_CENTER__IS_FORCED_TCF=true
Steps to Confirm
FIDES_PRIVACY_CENTER__IS_FORCED_TCF=true turbo dev
/fides-js-demo.html
?geolocation=fr-id
here in order to get the TCF overlay. But with this new env var, you'll always get the TCF bundle. You should see your TCF overlay as expected. You should also see a network call being made for the privacy experience, since it wasn't pre-fetched/fides-js-demo.html
Pre-Merge Checklist
CHANGELOG.md