Skip to content

Commit 8556879

Browse files
committed
feat: fix
1 parent bd1db0a commit 8556879

5 files changed

Lines changed: 28 additions & 21 deletions

File tree

apps/api/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"@hono/zod-validator": "^0.5.0",
1919
"@repo/database": "workspace:*",
2020
"@trpc/server": "^11.3.1",
21+
"better-auth": "^1.2.9",
2122
"drizzle-orm": "0.44.0",
2223
"hono": "^4.7.10",
2324
"lru-cache": "^11.1.0",

apps/origami-web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@trpc/server": "^11.3.1",
2020
"@trpc/tanstack-react-query": "^11.3.1",
2121
"api": "workspace:*",
22-
"better-auth": "^1.2.8",
22+
"better-auth": "^1.2.9",
2323
"class-variance-authority": "^0.7.1",
2424
"clsx": "^2.1.1",
2525
"hono": "^4.0.0",

packages/database/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"@kripod/uuidv7": "^0.1.0",
2121
"@neondatabase/serverless": "^1.0.0",
2222
"@upstash/redis": "^1.34.7",
23-
"better-auth": "^1.2.8",
23+
"better-auth": "^1.2.9",
2424
"dotenv": "^16.4.5",
2525
"drizzle-orm": "0.44.0",
2626
"nanoid": "^5.1.5",

packages/database/src/lib/auth.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ export const auth = betterAuth({
4646
secure: true,
4747
partitioned: true,
4848
},
49+
crossSubDomainCookies: {
50+
enabled: true,
51+
},
4952
}
5053
: {
5154
crossSubDomainCookies: {

pnpm-lock.yaml

Lines changed: 22 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)