LiveChat
Customer Support User OAuth

LiveChat

Manage agents, chats, and customer interactions through the LiveChat Platform API.

Auth Model

User OAuth

Standard OAuth 2.0 authorization. A user grants consent and receives an access token. Authpipe handles refresh, rotation, and health monitoring automatically.

Connection Flow

1
Your App
2
Authpipe
3
LiveChat
@authpipe/node
// Get a valid credential — always fresh, zero latency
const { credential } = await authpipe.getCredential({
  provider: 'livechat',
  tenantId: 'org_acme',
  userId: 'user_123',
});
// Use the credential with the provider API
const response = await fetch('https://api.example.com/data', {
  headers: { Authorization: `Bearer ${credential}` },
});
@authpipe/react
// Drop-in React component
<ConnectButton
  provider="livechat"
  onSuccess={(conn) => console.log('Connected!', conn)}
/>

Available Scopes

Permissions you can request when connecting to LiveChat.

chats--all:ro

Read-only access to all chats

chats--all:rw

Read and write access to all chats

chats--access:ro

Read-only access to chats the agent has access to

chats--access:rw

Read and write access to chats the agent has access to

customers:ro

Read-only access to customer data

customers:rw

Read and write access to customer data

agents--all:ro

Read-only access to all agent data

agents--all:rw

Read and write access to all agent data

agents--my:ro

Read-only access to own agent data

agents--my:rw

Read and write access to own agent data

What Authpipe handles for LiveChat

OAuth Orchestration

PKCE, state validation, callback handling, and provider-specific quirks — all automatic.

Encrypted Vault

AES-256-GCM encryption with per-tenant key isolation. OAuth tokens, API keys, and webhook secrets — never exposed to the frontend.

Silent Refresh

Proactive token refresh before expiry. SDK returns from local cache with zero latency.

Health Monitoring

Scheduled checks detect revoked tokens and expired credentials before users notice.

More Customer Support providers

Ready to connect LiveChat?

Get your first 100 connections free. Set up in minutes with our SDK.