UNPKG

@oberoncms/core

Version:

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

19 lines (18 loc) 406 B
import { betterAuth } from "better-auth"; import { createAuthOptions } from "./config.js"; import { cmsAuthBasePath } from "./config.js"; function createAuthServer({ betterAuth: betterAuthAdapter, sendVerificationRequest }) { return betterAuth( createAuthOptions({ betterAuth: betterAuthAdapter, sendVerificationRequest }) ); } export { cmsAuthBasePath, createAuthServer };