BETTER-AUTH. UI
Mutations

signInPasskeyOptions

Passkey sign-in mutation options.

Requires the Better Auth passkey plugin. If TypeScript cannot infer the plugin methods from your client, type or cast authClient as PasskeyAuthClient from @better-auth-ui/solid.

Options factory

import { signInPasskeyOptions } from "@better-auth-ui/solid"
import { createMutation } from "@tanstack/solid-query"

const signInWithPasskey = createMutation(() => signInPasskeyOptions(authClient))

signInWithPasskey.mutate()

Params

Prop

Type

Last updated on

On this page