better-auth-integration

Installation
SKILL.md

Better Auth Integration

Use @dodopayments/better-auth to synchronize Better Auth users with Dodo Payments and expose authenticated checkout, customer portal, subscription, payment, usage, and webhook endpoints.

When to use this skill

  • Create a Dodo customer automatically when a Better Auth user signs up.
  • Start checkout for a signed-in user without exposing a Dodo API key.
  • Let users open their customer portal or list their subscriptions and payments.
  • Submit metered usage for the signed-in customer.
  • Receive signature-verified Dodo webhooks through Better Auth.

Install

npm install @dodopayments/better-auth dodopayments better-auth

The package exports the lowercase server functions dodopayments, checkout, portal, usage, and webhooks. Its client entry point exports dodopaymentsClient.

Installs
1
GitHub Stars
5
First Seen
8 days ago
better-auth-integration — dodopayments/dodo-agent-plugin