BETTER-AUTH. UI
Mutations

linkSocialOptions

Link a social provider to the current account.

Usage

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

const linkSocial = createMutation(() => linkSocialOptions(authClient))

linkSocial.mutate({ provider: "github" })

Params

Last updated on

On this page