The API Key Wallet

Let your users bring their own API keys. Securely. Login with Deli gives platforms access to user credentials without ever exposing the raw keys.

How it works

1

User stores key

API keys encrypted at rest in Deli vault

2

Platform integrates

OAuth 2.0 + PKCE, just like Google login

3

User authorizes

Consent screen — scoped, revocable access

4

Platform proxies

API calls go through Deli's proxy layer

5

Key never exposed

Platform never sees the raw key

🔐

For Users

  • Store API keys in one secure vault
  • Control which apps access which keys
  • Revoke access anytime, instantly
  • Full audit trail of every API call

For Developers

  • Standard OAuth 2.0 integration
  • Proxy API calls — zero key management
  • Support every AI provider from day one
  • Usage analytics and rate limiting
🤖

For Agents

  • Client credentials authentication
  • Scoped access per service
  • Full audit logs on every request
  • Programmatic token management

Integrate in minutes

Three steps. No key management. No liability.

integration.ts
// 1. Redirect to Deli authorization
window.location.href = 'https://portal.withdeli.com/oauth/consent'
  + '?client_id=YOUR_APP&scope=openai';

// 2. Exchange code for token
const token = await fetch('https://api.withdeli.com/oauth/token', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    grant_type: 'authorization_code',
    code: authCode,
    client_id: 'YOUR_APP',
    redirect_uri: 'https://yourapp.com/callback'
  })
});

// 3. Proxy API calls — user's key is never exposed
const response = await fetch(
  'https://api.withdeli.com/proxy/openai/chat/completions',
  {
    method: 'POST',
    headers: { Authorization: `Bearer ${token}` },
    body: JSON.stringify({
      model: 'gpt-4o',
      messages: [{ role: 'user', content: 'Hello!' }]
    })
  }
);