UNPKG

@oberoncms/core

Version:

OberonCMS is a cloud deployable CMS written in typescript based on the Puck visual editor

13 lines (10 loc) 326 B
"use client" import { createAuthClient } from "better-auth/react" import { emailOTPClient } from "better-auth/client/plugins" import { cmsAuthBasePath } from "./server" export const authClient: ReturnType<typeof createAuthClient> = createAuthClient( { baseURL: cmsAuthBasePath, plugins: [emailOTPClient()], }, )