VerifyAuthOIDCConsoleSDK

Bring World ID into your app.

Human Gateway makes human verification and sign-in easier to integrate through hosted flows, an SDK, and signed callbacks.

Verification, sign-in, and integration tools.

Hosted Verify

Add World ID human verification through a hosted flow.

Hosted Auth

Enable verified sign-in through hosted flows with session support.

OpenID Connect

Integrate World ID sign-in using OpenID Connect (OIDC).

Partner Console

Manage projects, actions, callbacks, and sessions.

How it works

A simpler path to World ID integration.

  1. Configure

    Set up your project and verification or sign-in flow.

  2. Integrate

    Use hosted Verify or Auth flows through the SDK, or OpenID Connect (OIDC) for sign-in.

  3. Verify or sign in

    Users complete verification or sign-in through the selected flow.

  4. Validate

    Validate the result using the contract for your chosen flow before granting access.

Privacy model

Human verification, with clear data boundaries.

Human Gateway helps you integrate World ID verification and sign-in. Each integration returns the results and technical identifiers defined by its flow.

Flow-specific results

Hosted Verify returns verification status for a project and action. Hosted Auth includes project-scoped user and session identifiers. OpenID Connect (OIDC) uses a pairwise subject identifier.

Identity data excluded from results

Standard Verify and Auth responses and callbacks, and OIDC tokens and UserInfo, do not include identity documents, biometric data, or raw World ID nullifiers.

Documented data handling

Human Gateway processes technical and operational records to run and secure the service. Read our Privacy Policy and Security overview for details.

Developers

Choose the integration that fits your app.

Use the Human Gateway SDK for hosted World ID flows, or connect sign-in through OpenID Connect.

Start with the SDK

SDK and hosted flows

Launch Hosted Verify for human checks or Hosted Auth for sign-in with project-scoped sessions. Use frontend results for UI updates and verified backend callbacks for durable state.

OpenID Connect

Integrate World ID-backed sign-in using Authorization Code with PKCE. Exchange the code and validate the ID Token on your backend, then establish your app's own session.

OIDC integration guide

Install: npm install @human-gateway/sdk

Sandbox Verify example

import { HumanGateway, HumanGatewayError } from "@human-gateway/sdk";

const hg = new HumanGateway({
    projectId: "YOUR_SANDBOX_PROJECT_ID",
    environment: "sandbox",
});

const button = document.querySelector("#verify-button");
button?.addEventListener("click", async () => {
    try {
        const result = await hg.verify({
            actionKey: "YOUR_VERIFY_ACTION_KEY",
        });
        if (result.verified_human) {
            // Update UI only. Your backend must validate the signed
            // callback before persisting state or granting access.
        }
    } catch (error) {
        if (
            error instanceof HumanGatewayError &&
            error.code === "already_verified"
        ) {
            // Show already-verified feedback.
            return;
        }
        // Show an error and let the user restart the flow.
    }
});

Minimal Sandbox Verify example. Replace the public references and provide a button with id="verify-button" to start from a user click. Access is limited to selected early partners.

Use cases

Human checks and sign-in for your app.

Explore possible uses for World ID verification and sign-in. Your app defines participation, eligibility, and access rules.

Early partner access

Bring World ID to your application.

Human Gateway is onboarding selected early partners. Tell us about your integration to request access.