Xero
Access accounting, invoicing, and financial data with Xero via OAuth authentication.
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
// Get a valid credential — always fresh, zero latency const { credential } = await authpipe.getCredential({ provider: 'xero', 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}` }, });
// Drop-in React component <ConnectButton provider="xero" onSuccess={(conn) => console.log('Connected!', conn)} />
Available Scopes
Permissions you can request when connecting to Xero.
openid OpenID Connect authentication
profile Read access to user profile information
email Read access to user email address
accounting.transactions Read and write access to accounting transactions
accounting.contacts Read and write access to contacts
accounting.settings Read and write access to accounting settings
offline_access Request a refresh token for long-lived access
What Authpipe handles for Xero
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 Commerce providers
BigCommerce
Access BigCommerce store data including products, orders, and customers via OAuth or API token authentication.
EasyPost
Create shipping labels, track packages, and verify addresses through EasyPost.
eBay
List items, manage orders, and access seller tools through the eBay API.
Etsy
Access Etsy shop data, listings, and transactions via the Etsy Open API v3.
Ready to connect Xero?
Get your first 100 connections free. Set up in minutes with our SDK.