TheDocumentation Index
Fetch the complete documentation index at: https://docs.useautumn.com/llms.txt
Use this file to discover all available pages before exploring further.
AutumnProvider component wraps your React application and provides the Autumn client to all hooks.
Usage
Parameters
Base URL for your backend server (e.g.,
https://api.example.com). Defaults to current origin. Set this when your backend is hosted on a separate domain.Path prefix for Autumn routes. Defaults to
/api/autumn, or /api/auth/autumn if useBetterAuth is true.Use better-auth integration. Sets
pathPrefix to /api/auth/autumn and includeCredentials to true.Include credentials (cookies) in cross-origin requests. Defaults to true if
useBetterAuth is true.Custom TanStack Query client. Uses a default client if not provided.
If true, suppresses console warnings and logs.

