From 8e8b62747b628f623b885367c732c89524f9dcb5 Mon Sep 17 00:00:00 2001 From: klu909 <55161078+klu909@users.noreply.github.com> Date: Wed, 7 Oct 2020 16:14:34 -0700 Subject: [PATCH] fix: extend token expiration time (#2239) * fix: extend token expiration time * extend to 5 min --- plugins/builds/steps/logs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/builds/steps/logs.js b/plugins/builds/steps/logs.js index ad2948e78..288b9898a 100644 --- a/plugins/builds/steps/logs.js +++ b/plugins/builds/steps/logs.js @@ -184,7 +184,7 @@ module.exports = config => ({ config.authConfig.jwtPrivateKey, { algorithm: 'RS256', - expiresIn: '5s', + expiresIn: '300s', jwtid: uuid.v4() } );