feat: implement token expiration handling in authentication flow and update session management for improved security

This commit is contained in:
Julien Froidefond
2025-12-06 12:38:36 +01:00
parent b1a8f9cd60
commit ad8b936c7a
2 changed files with 19 additions and 4 deletions

View File

@@ -18,5 +18,7 @@ declare module "next-auth" {
declare module "next-auth/jwt" {
interface JWT {
id: string;
exp?: number;
error?: "TokenExpired";
}
}