-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Parent epic
Description
Implement the browser-facing endpoint that publishers call to retrieve the EC hash and synced partner UIDs.
Scope: ec/identify.rs, router update
Acceptance criteria
!allows_ec_creation(consent)(consent denied, regardless of EC presence) →403 Forbidden. Consent evaluated before EC presence.- No EC present, consent not denied →
204 No Content. - Valid EC, consent granted, KV entry found →
200withec,consent,uids,eids. - Valid EC, consent granted, no KV entry (never synced / create failed) →
200withdegraded: false, emptyuids/eids. uidsfiltered tobidstream_enabled = truepartners.- KV read error →
200withdegraded: true, emptyuids/eids. - No
Originheader → no CORS headers, no403. Originmatchespublisher.domainor subdomain → reflect inAccess-Control-Allow-Origin+Vary: Origin.Originmismatch →403.OPTIONS /identify→200with CORS headers, no body.generate_if_needed()never called. Handler does not write cookies;ec_finalize_response()handles withdrawal/reconciliation.- Response time target: 30ms p95 (documented, not gate).
- Unit tests cover all response codes, degraded flag,
uidsfiltering, CORS origin validation.
Spec ref
docs/internal/ssc_technical_spec.md §11
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels