Skip to content

Commit

Permalink
Session
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Jan 7, 2025
1 parent 3ad33e9 commit e8f5574
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions apps/api/src/lib/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,13 @@ export const setupAuth = (c: Context) => {
enabled: true,
maxAge: 5 * 60,
},
},
crossSubDomainCookies: {
enabled: true,
domain: "api.languine.ai",
cookieOptions: {
httpOnly: true,
secure: true,
sameSite: "none",
domain: ".languine.ai",
path: "/",
},
},
plugins: [organization()],
});
Expand Down

0 comments on commit e8f5574

Please sign in to comment.