Skip to content

setuid's not picking up an account id #4494

@spormeon

Description

@spormeon

I think I have found a "knock on" problem to #4411 , account endpoints now work but all the "host" setuids are 400'ing out with a "account must be valid if provided, please reach out to the prebid server host", deafult accounts are set to false

I see this setting in config.go: v.SetDefault("user_sync.redirect_url", "{{.ExternalURL}}/setuid?bidder={{.SyncerKey}}&gdpr={{.GDPR}}&gdpr_consent={{.GDPRConsent}}&gpp={{.GPP}}&gpp_sid={{.GPPSID}}&f={{.SyncType}}&uid={{.UserMacro}}")

if I "hardcode" an account in the setting, it works and we start getting 200's: {{.ExternalURL}}/setuid?account=XXXXXX&bidder={{.SyncerKey}}&gdpr={{.GDPR}}&gdpr_consent={{.GDPRConsent}}&gpp={{.GPP}}&gpp_sid={{.GPPSID}}&f={{.SyncType}}&uid={{.UserMacro}}

  1. I have no clue if there is a "macro" for the account id?
  2. do/ should the acountid even be included on setuid's in the "greater scheme of things"
  3. Am i just missing some "setting" that sorts it all out anyway, no clue, cant find any docs on it anywhere

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Research

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions