Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

🛂 Increase JWT exp time (#1607)

Luke Vella547a24c6e100
diff --git a/apps/web/src/next-auth.ts b/apps/web/src/next-auth.ts
index 1b6588ddb..e630e0bf4 100644
--- a/apps/web/src/next-auth.ts
+++ b/apps/web/src/next-auth.ts
@@ -55,6 +55,16 @@ const {
session: {
strategy: "jwt",
},
+ jwt: {
+ maxAge: 60 * 60 * 24 * 60,
+ },
+ cookies: {
+ sessionToken: {
+ options: {
+ maxAge: 60 * 60 * 24 * 60,
+ },
+ },
+ },
events: {
signIn({ user, account }) {
if (user.id) {