commit 3e8761d27d2af8480ac8c38f60ce91c905da07ea
parent 4ec3f79cf92408497e2288e94544dbe3a97a365e
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date: Sat, 28 Sep 2024 14:24:40 +0200
feat(env): token ttl size
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.env b/.env
@@ -26,8 +26,8 @@ API_REDIRECT_URI=http://localhost:5173/authverify
API_CORS_ALLOW_ORIGIN=http://localhost:5173
# JWT secret for magic links (`openssl rand -base64 48`)
API_JWT_SECRET=
-# JWT TTL in seconds (validity of the magic link), 5m
-API_JWT_TTL=300
+# JWT TTL in seconds, make it biger than VITE_SESSION_TTL, 60m
+API_JWT_TTL=3600
# SMTP settings for sending magic links
SMTP_HOST=