mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-06 12:27:44 +00:00
feat: cross-subdomainCookies plugin
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
import { betterAuth } from "better-auth";
|
||||
import { organization, passkey, twoFactor } from "better-auth/plugins";
|
||||
import {
|
||||
organization,
|
||||
passkey,
|
||||
twoFactor,
|
||||
crossSubdomain,
|
||||
} from "better-auth/plugins";
|
||||
import { reactInvitationEmail } from "./email/invitation";
|
||||
import { LibsqlDialect } from "@libsql/kysely-libsql";
|
||||
import { github, google } from "better-auth/social-providers";
|
||||
@@ -75,6 +80,7 @@ export const auth = betterAuth({
|
||||
},
|
||||
}),
|
||||
passkey(),
|
||||
crossSubdomain(),
|
||||
],
|
||||
socialProviders: {
|
||||
github: {
|
||||
|
||||
Reference in New Issue
Block a user