diff --git a/src/api-token-provider.ts b/src/api-token-provider.ts index 7ce6889a..4800c1ab 100644 --- a/src/api-token-provider.ts +++ b/src/api-token-provider.ts @@ -12,7 +12,7 @@ export class ApiTokenProvider implements IAuthProvider { uri: path, nonce: Date.now(), iat: Math.floor(Date.now() / 1000), - exp: Math.floor(Date.now() / 1000) + 10, + exp: Math.floor(Date.now() / 1000) + 20, sub: this.apiKey, bodyHash: crypto.createHash("sha256").update(JSON.stringify(bodyJson || "")).digest().toString("hex") } as any, this.privateKey, { algorithm: "RS256"});