v3 API — Web2 + Web3 auth

Auth with wallets,

OAuth 2.0 authentication that gives every user a blockchain wallet. One SDK, one integration — both Web2 identity and Web3 capabilities.

$ npm install @kid/oauth2
OAuth 2.0 + PKCEAuto walletsGas sponsorshipTypeScript SDK

Quick start

Authenticate users and access wallets in a few lines of code.

app.ts
typescript
import { KIDAuth } from '@kid/oauth2';

const auth = new KIDAuth({
  clientId: 'YOUR_CLIENT_ID',
  redirectUri: 'https://yourapp.com/callback'
});

// Generate login URL with PKCE
const loginUrl = auth.createLoginUrl({
  scope: 'profile.basic wallet.read'
});

// Exchange code for tokens
const tokens = await auth.exchangeCode(code);

// Get user info with wallet
const user = await auth.getUserInfo(tokens.access_token);
console.log(user.wallet_address);

Everything you need

Web2 authentication with Web3 superpowers, out of the box.

OAuth 2.0 + PKCE

auth

Industry-standard authorization with PKCE. Google, Apple, Telegram out of the box.

Auto Wallet Generation

web3

Every user gets a blockchain wallet on signup. Zero extra steps for your users.

Gas Sponsorship

web3

Sponsor gas fees for your users. They transact on-chain, you cover the cost.

TypeScript SDK

dx

Full type safety and autocomplete. Integrate authentication in minutes.

Granular Scopes

security

Request only what you need: profile, contact, wallet.read, wallet.transfer.

Multi-Platform

universal

React, Next.js, Vue, Flutter, React Native, or any HTTP client.

Wallet API

Built-in blockchain capabilities

Every authenticated user gets a wallet. Sign messages, send transactions, and sponsor gas — all through standard OAuth scopes.

Wallet Info

Retrieve wallet address and public key

GET/wallet/info

Sign Messages

Request message signatures for verification

POST/wallet/sign-message

Send Transactions

Execute transactions with optional gas sponsorship

POST/wallet/send-transaction

Sponsor Gas

Cover transaction fees for seamless UX

POST/wallet/sponsor
AI-Ready

Let AI write your integration

Copy a prompt, paste it into your AI coding assistant, and get a working integration.

AI prompt
Read https://dash.kid.koompi.org/llms.txt and implement KID OAuth in my Next.js app:
1. Create login button with PKCE flow
2. API route for token exchange (/api/auth/callback)
3. Token refresh endpoint (/api/auth/refresh)
4. Get user profile with wallet address
5. Store tokens in httpOnly cookies
6. Support wallet.read and wallet.transfer scopes

Three steps to production

01

Create a project

Register your app in the dashboard. Get your client_id and client_secret.

client_id: 'abc123.kid.koompi.org'
02

Install the SDK

Add @kid/oauth2 to your project and configure the login flow.

npm install @kid/oauth2
03

Ship it

Users authenticate and automatically receive a blockchain wallet.

user.wallet_address // 0x...

Start building today

Free to start. Add authentication with wallets to your app in minutes.

KID

OAuth 2.0 authentication with automatic blockchain wallets. Web2 identity meets Web3 capabilities.

API operational

OAuth API

GET/oauth
POST/oauth/token
GET/oauth/userinfo

Wallet API

GET/wallet/info
POST/wallet/sign
POST/wallet/send
PrivacyTerms© 2026 KID