Athena Auth Client
Full createClient(...).auth surface grouped by domain.
This section documents the full createClient(...).auth.* surface with one page per domain.
Pages
- Session
- User Lifecycle
- Social, Provider Accounts, and Health
- Two Factor
- Passkey
- Admin
- API Key
- Organization
- Organization Members
- Organization Invitations
- Sign In and Sign Up
- Callback
- React
useSession
Base Setup
import { createClient } from "@xylex-group/athena";
export const client = createClient("http://localhost:3001", "gateway_api_key", {
auth: { baseUrl: "http://localhost:3001/api/auth" },
});For request/response schema details, each page below includes OpenAPI-rendered operation docs from openapi.yaml.