mirror of
https://github.com/rclone/rclone.git
synced 2025-12-12 06:24:14 +01:00
box: Remove unnecessary iat from jws claims
This commit is contained in:
@@ -194,7 +194,6 @@ func getClaims(boxConfig *api.ConfigJSON, boxSubType string) (claims *jws.ClaimS
|
|||||||
Iss: boxConfig.BoxAppSettings.ClientID,
|
Iss: boxConfig.BoxAppSettings.ClientID,
|
||||||
Sub: boxConfig.EnterpriseID,
|
Sub: boxConfig.EnterpriseID,
|
||||||
Aud: tokenURL,
|
Aud: tokenURL,
|
||||||
Iat: time.Now().Unix(),
|
|
||||||
Exp: time.Now().Add(time.Second * 45).Unix(),
|
Exp: time.Now().Add(time.Second * 45).Unix(),
|
||||||
PrivateClaims: map[string]interface{}{
|
PrivateClaims: map[string]interface{}{
|
||||||
"box_sub_type": boxSubType,
|
"box_sub_type": boxSubType,
|
||||||
|
|||||||
Reference in New Issue
Block a user