mirror of
https://github.com/bitbaum/causius.git
synced 2026-12-04 05:07:50 +01:00
Email and password, a sign-in link, passkeys, two-step codes and (where configured) the shared sign-in and OrangeCat, all from @bitbaum/accountkit/auth. Matters made while OrangeCat was the only way in are re-keyed to the account the same person signs in with. Live check and provisioning updated. Claude-Session: https://claude.ai/code/session_01QDMxjTqKNLXETMYYuapMa3 Co-authored-by: Claude <noreply@anthropic.com>
8 lines
293 B
TypeScript
8 lines
293 B
TypeScript
"use client";
|
|
|
|
import { authClientPlugins } from "@bitbaum/accountkit/auth/client";
|
|
import { createAuthClient } from "better-auth/react";
|
|
|
|
/** The browser half of accounts. Talks only to this origin (/api/auth). */
|
|
export const authClient = createAuthClient({ plugins: authClientPlugins() });
|