forked from TrueCloudLab/rclone
box: Remove unnecessary iat from jws claims
This commit is contained in:
parent
ab6ed256e5
commit
0c0ed2fe04
1 changed files with 0 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue