Skip to content

Always generate a seed, refresh 1P cookies if necessary #166

@OlivierChirouze

Description

@OlivierChirouze

Today when a call is made to createSeed(), it reads current cookies via getIdsAndPreferences():

  • if there are no local cookies, no call to the operator is made and the seed will be undefined
  • if the cookies have not been refreshed (no paf_last_refresh cookie), same thing

Improvement: the call to createSeed() should trigger a refresh of cookies to make sure a call to the operator is triggered if needed.

Question: how to ensure this is not done in parallel to an explicit call to refreshIdsAndPreferences() (there should not be two calls in parallel!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions