diff --git a/backend/src/services/authManager/providers/custom.ts b/backend/src/services/authManager/providers/custom.ts index cbda647..130a71d 100644 --- a/backend/src/services/authManager/providers/custom.ts +++ b/backend/src/services/authManager/providers/custom.ts @@ -44,7 +44,7 @@ const createAccessToken = (user: OAuthUser, refreshTokenId: string) => { refreshTokenId, } - return jwt.sign(payload, 'secret', { + return jwt.sign(payload, JWT_SECRET, { expiresIn: '1h', }) }