Its working!

This commit is contained in:
Owen Schwartz
2024-10-06 22:09:30 -04:00
parent 800dcb6270
commit 143a3b756e
10 changed files with 81 additions and 15 deletions

View File

@@ -27,9 +27,10 @@ export const lucia = new Lucia(adapter, {
name: "session",
expires: false,
attributes: {
secure: environment.ENVIRONMENT === "prod",
sameSite: "strict",
// domain: "example.com"
// secure: environment.ENVIRONMENT === "prod",
// sameSite: "strict",
secure: false,
domain: ".testing123.io"
},
},
sessionExpiresIn: new TimeSpan(2, "w"),