Better Auth Library

Core TypeScript library distributed as the `better-auth` npm package. Configured in the application backend to expose sign-in / sign-up / session endpoints that the developer mounts under their own domain; there is no Better-Auth-hosted REST API for the core library. Includes a typed client (`better-auth/client`) for use from frontend code.

Better Auth Library is one of 4 APIs that Better Auth publishes on the APIs.io network.

Tagged areas include Library, TypeScript, SDK, and Self-Hosted. The published artifact set on APIs.io includes API documentation.

API entry from apis.yml

apis.yml Raw ↑
aid: better-auth:library
name: Better Auth Library
description: Core TypeScript library distributed as the `better-auth` npm package. Configured in the application
  backend to expose sign-in / sign-up / session endpoints that the developer mounts under their own domain;
  there is no Better-Auth-hosted REST API for the core library. Includes a typed client (`better-auth/client`)
  for use from frontend code.
humanURL: https://www.better-auth.com/docs
baseURL: https://github.com/better-auth/better-auth
tags:
- Library
- TypeScript
- SDK
- Self-Hosted
properties:
- type: Documentation
  url: https://www.better-auth.com/docs
- type: Repository
  url: https://github.com/better-auth/better-auth
- type: Package
  url: https://www.npmjs.com/package/better-auth