mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-25 08:31:37 -05:00
17 lines
338 B
TypeScript
17 lines
338 B
TypeScript
import { atom } from "jotai";
|
|
|
|
export type SignInBoxOptions = typeof defaultOptions;
|
|
|
|
export const defaultOptions = {
|
|
email: true,
|
|
passkey: false,
|
|
socialProviders: ["google", "github"],
|
|
magicLink: false,
|
|
signUp: true,
|
|
label: true,
|
|
rememberMe: true,
|
|
requestPasswordReset: true,
|
|
};
|
|
|
|
export const optionsAtom = atom(defaultOptions);
|