From a5b44be6a1687ffe53b85a3b4651ad097008d17f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?gr=C3=A9goire=20parant?= Date: Mon, 9 Aug 2021 16:37:24 +0200 Subject: [PATCH] Update JWT expires days (#1349) --- pusher/src/Services/JWTTokenManager.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pusher/src/Services/JWTTokenManager.ts b/pusher/src/Services/JWTTokenManager.ts index 9a7c2695..bb21531c 100644 --- a/pusher/src/Services/JWTTokenManager.ts +++ b/pusher/src/Services/JWTTokenManager.ts @@ -11,7 +11,8 @@ export const tokenInvalidException = "tokenInvalid"; class JWTTokenManager { public createAuthToken(identifier: string) { - return Jwt.sign({ identifier }, SECRET_KEY, { expiresIn: "3d" }); + //TODO fix me 200d when ory authentication will be available + return Jwt.sign({ identifier }, SECRET_KEY, { expiresIn: "200d" }); } public decodeJWTToken(token: string): AuthTokenData {