feat: implement token expiration handling in authentication flow and update session management for improved security
This commit is contained in:
2
types/next-auth.d.ts
vendored
2
types/next-auth.d.ts
vendored
@@ -18,5 +18,7 @@ declare module "next-auth" {
|
||||
declare module "next-auth/jwt" {
|
||||
interface JWT {
|
||||
id: string;
|
||||
exp?: number;
|
||||
error?: "TokenExpired";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user