feat: support device authorization (#3811)

This commit is contained in:
Alex Yang
2025-08-21 14:59:31 -07:00
committed by GitHub
parent 2edb2d6816
commit 5ded0904d4
28 changed files with 3150 additions and 74 deletions

View File

@@ -8,6 +8,7 @@ import {
oneTapClient,
oidcClient,
genericOAuthClient,
deviceAuthorizationClient,
} from "better-auth/client/plugins";
import { toast } from "sonner";
import { stripeClient } from "@better-auth/stripe/client";
@@ -34,6 +35,7 @@ export const client = createAuthClient({
stripeClient({
subscription: true,
}),
deviceAuthorizationClient(),
],
fetchOptions: {
onError(e) {