Switching to UseOneID (Zero-Downtime Migration)

Migrate smoothly from legacy single-use KYC vendors (SmileID, Prembly, Dojah, QoreID, Sumsub, Persona) without disrupting existing verified users or violating NDPR/GDPR consent rules.

Phase 1 · Day 1

Parallel Drop-In (Zero Downtime)

Keep your existing verified users untouched. Drop <UseOneIDButton /> into new user signups and high-risk step-up flows (10% → 50% → 100% rollout).

Phase 2 · Weeks 1–4

Lazy / On-Demand User Upgrade

When an existing user triggers a sensitive action (large transfer, tier upgrade, KYC refresh), call POST /api/v1/verify/lookup-user. Users already on UseOneID link in 2 seconds via face biometrics.

Phase 3 · Compliance

Drop-In Webhook & Claim Mapping

Verify UseOneID RS256 JWTs with standard jose against /.well-known/jwks.json and listen for identity.verified, identity.frozen, and transaction.flagged webhooks.

Phase 4 · Cutover

Sunset Legacy Vendor Retainers

Once 100% of new onboarding and step-up flows run on UseOneID, cancel legacy retainers and keep historical KYC records read-only for past regulatory audits.

Why On-Demand Migration Beats Bulk PII Imports

Bulk-importing stale selfies or unconsented PII dumps from another vendor violates NDPR/GDPR consent rules and produces broken cross-engine biometric matches. With UseOneID's lookup-user flow, every migrated user gives fresh consent and gains instant 1-Click Reuse across the entire UseOneID network.

On-Demand Existing User Upgrade Pattern

// 1. Check if an existing user is already verified on UseOneID (<50ms)
const lookup = await fetch("https://useoneid.com/api/v1/verify/lookup-user", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    email: existingUser.email,
    phone: existingUser.phone,
  }),
}).then((r) => r.json());

// 2. Route to 2-second 3D Biometric Reuse if found, or 30-second 1-time enrollment
const authUrl = "https://useoneid.com/oauth/authorize?" + new URLSearchParams({
  client_id: process.env.NEXT_PUBLIC_USEONEID_CLIENT_ID!,
  login_hint: existingUser.email,
  flow: lookup.found ? "reuse" : "fkyc",
  redirect_uri: window.location.origin + "/api/auth/useoneid",
});

Field & Webhook Mapping Cheat Sheet

Legacy Vendor ConceptUseOneID EquivalentNotes
approved / verified / PASSJWT kyc_tier: 'tier_2' or 'tier_3'Verified statelessly via RS256 JWKS using jose
user_reference / applicant_idJWT sub (e.g. usr_...)Stable cross-network UseOneID subject identifier
nin_verified / bvn_verifiedJWT nin_verified / bvn_linkedZero plain-text ID storage required on your servers
webhook: job.completedwebhook: identity.verified / kyb.approvedHMAC-SHA256 signed via x-useoneid-signature header
Manual fraud blocklistwebhook: identity.frozen / identity.risk_escalatedReal-time network-wide freeze & fraud shield