From 0c0ed2fe0415a2624bddd0b81773dda50aab79bb Mon Sep 17 00:00:00 2001 From: David Date: Wed, 22 Apr 2020 15:26:17 +0100 Subject: [PATCH] box: Remove unnecessary iat from jws claims --- backend/box/box.go | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/box/box.go b/backend/box/box.go index e444b9015..ce9c6f38c 100644 --- a/backend/box/box.go +++ b/backend/box/box.go @@ -194,7 +194,6 @@ func getClaims(boxConfig *api.ConfigJSON, boxSubType string) (claims *jws.ClaimS Iss: boxConfig.BoxAppSettings.ClientID, Sub: boxConfig.EnterpriseID, Aud: tokenURL, - Iat: time.Now().Unix(), Exp: time.Now().Add(time.Second * 45).Unix(), PrivateClaims: map[string]interface{}{ "box_sub_type": boxSubType,