White label: branding and custom domains

The pages Nexiel shows your users on your behalf can carry your own name, logo and colours, and can be served on your own subdomain, such as login.example.com. A wallet always shows your relying-party name from your registration certificate. Branding covers the browser pages around it.

Which pages are themed

  • The Nexiel Login sign-in page, including its QR code and the Digital Credentials API button, and the sign-out confirmation and signed-out pages.
  • The hosted verification page for a cross-device session, at /v1/verify/hosted/{sessionId}#token={sessionToken}. Send your user there with the sessionId and sessionToken from POST /v1/verify/sessions. The token stays in the URL fragment, which browsers never send to a server. The page reads it and asks for the wallet link with it.
  • The page the wallet opens after a cross-device presentation. When you have an active custom domain, the wallet is sent to it.
  • The data deletion request form.

Once you set a display name or a logo, the pages show your brand only, with no Nexiel name, and a short “Provided by” line with your verified legal name so a page can never be passed off as another organization’s. Every page keeps a strict Content-Security-Policy: no inline script or style without a per-response nonce, and images only from your one logo URL or from a logo stored with Nexiel.

Branding

PUT /v1/verify/branding
curl -X PUT https://compliance.nexiel.io/v1/verify/branding \
  -H "Authorization: Bearer $NEXIEL_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: branding-2026-10" \
  -d '{
    "displayName": "Example Retail",
    "logoUrl": "https://cdn.example.com/brand/logo.png",
    "primaryColor": "#0f5132",
    "primaryHoverColor": "#0b3d26",
    "supportUrl": "https://example.com/help",
    "privacyPolicyUrl": "https://example.com/privacy"
  }'
  • displayName: up to 120 characters of plain text.
  • primaryColor, primaryHoverColor, backgroundColor, textColor: six-digit hex colours such as #2954e5. Leave background and text unset to keep both the light and the dark appearance.
  • logoUrl: an https URL with no query string, credentials or IP address. Or upload the logo instead as logoDataUri: a PNG, JPEG or WebP data URI of at most 100 KB. SVG is not accepted. Give one or the other.
  • supportUrl and privacyPolicyUrl: https links shown at the foot of every page.

A save replaces the whole branding, so omitted fields are cleared. An invalid field rejects the whole save with 400 invalid_branding naming the field. Read the current branding with GET /v1/verify/branding. An intermediary with branding:manage uses /v1/verify/intermediary/children/{childOrganizationId}/branding (see serving client organizations).

Custom domains

Add a subdomain you control. Nexiel answers with the two DNS records to publish:

POST /v1/verify/custom-domains
curl -X POST https://compliance.nexiel.io/v1/verify/custom-domains \
  -H "Authorization: Bearer $NEXIEL_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: add-login-domain" \
  -d '{ "hostname": "login.example.com" }'
201 Created (abridged)
{
  "id": "7b8c9d0e-1f2a-4b3c-8d4e-5f6a7b8c9d0e",
  "hostname": "login.example.com",
  "status": "pending",
  "dns": {
    "txt": { "name": "_nexiel-challenge.login.example.com", "value": "nexiel-domain-verification=4f1c9a7e2b6d" },
    "cname": { "name": "login.example.com", "target": "<the target shown in your response>" }
  },
  "lastCheckError": null
}
  1. Adding a domain needs your approved business verification. Publish a TXT record at _nexiel-challenge.<your host> with the value nexiel-domain-verification=<token>. This proves you control the domain.
  2. Point a CNAME for the host at the target shown in the response.
  3. Call POST /v1/verify/custom-domains/{domainId}/verify. When both records are seen the domain becomes active. Otherwise lastCheckError says what is missing (txt_missing, cname_missing, cname_mismatch or dns_error).
  4. Once active, you receive a custom_domain.activated webhook, and the host is served with its own TLS certificate where custom domains are enabled for your account. Custom domains are being rolled out: until they are enabled, your hosted pages stay on the Nexiel host.

A domain not verified within 7 days is released. Keep both records in place. Domains are rechecked regularly, and one whose records have gone is suspended and no longer served, with a custom_domain.suspended webhook, until it verifies again. You can have up to five custom domains. Remove one with POST /v1/verify/custom-domains/{domainId}/remove.

A custom domain serves the hosted pages only: Nexiel Login, the hosted verification page, the wallet return page and the data deletion form, and only for your own organization. Every API call keeps using https://compliance.nexiel.io with your access token (see authentication).

Nexiel Login on a custom domain

Point your identity broker's authorization endpoint at https://login.example.com/v1/login/authorize and its end-session endpoint at https://login.example.com/v1/login/logout. The issuer, the token endpoint and the signing keys stay at https://compliance.nexiel.io/v1/login, so the id_tokens and logout tokens your broker validates keep the same issuer. Only your own Login connections sign in, and sign out, on your domain.

In the SDKs

TypeScript
await verify.whiteLabel.replaceBranding({ displayName: 'Example Retail', primaryColor: '#0f5132' });
const domain = await verify.whiteLabel.addCustomDomain({ hostname: 'login.example.com' });
// publish domain.dns.txt and domain.dns.cname, then:
await verify.whiteLabel.verifyCustomDomain(domain.id);
Python
verify.white_label.replace_branding({"displayName": "Example Retail", "primaryColor": "#0f5132"})
domain = verify.white_label.add_custom_domain("login.example.com")
verify.white_label.verify_custom_domain(str(domain.id))