UNPKG

@daveyplate/better-auth-ui

Version:

Plug & play shadcn/ui components for better-auth

17 lines (15 loc) 398 B
import type { Provider } from "../lib/social-providers" import type { AuthClient } from "./auth-client" export type GenericOAuthOptions = { /** * Custom OAuth Providers * @default [] */ providers: Provider[] /** * Custom generic OAuth sign in function */ signIn?: ( params: Parameters<AuthClient["signIn"]["oauth2"]>[0] ) => Promise<unknown> }