Skip to content

AuthEnvConfig

AuthEnvConfig = object

Defined in: packages/auth/src/types.ts:115

Per-request environment bindings required to initialize an AuthInstance.

Passed to the initAuth() function returned by createAuth.

appUrl: string

Defined in: packages/auth/src/types.ts:119

The application’s public URL, used as the base URL for Better Auth endpoints.


d1: D1Database

Defined in: packages/auth/src/types.ts:117

The Cloudflare D1 database binding for session and user storage.