Visibility Engine

Consent Recording

How disclosure acceptance is captured and stored before OAuth onboarding.

Policy version 2026-04-04 | Last updated April 4, 2026

How Consent Is Captured

  1. User reviews disclosures and checks the consent box on the landing page.
  2. Client calls /api/compliance/consent before OAuth initiation.
  3. Server records a consent event with policy version, scope, and timestamp.
  4. OAuth flow starts only after consent capture succeeds.

Recorded Fields

Field Description
consentIdUnique audit identifier returned to the client.
acceptedAtISO timestamp for disclosure acceptance.
policyVersionPublished policy revision accepted by the user.
scopeConnection context, such as gsc-oauth or ga4-oauth.
pagePage path where consent was accepted.
userAgentTruncated user-agent string for audit context.
ipHashSHA-256 hash of client IP (raw IP is not stored).

Review Surfaces