Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.usechar.com/llms.txt

Use this file to discover all available pages before exploring further.

Use Better Auth user tokens with Char.

1) Configure Better Auth in Char

Set issuer and audience settings to match your Better Auth OIDC/JWT configuration.

2) Read token from your Better Auth session

const idToken = await getIdTokenFromSession();

3) Connect

agent.connect({
  publishableKey: "pk_live_...",
  idToken,
});

Identity Providers Overview