mirror of
https://github.com/rclone/rclone.git
synced 2025-01-24 12:56:36 +02:00
box: Remove unnecessary iat from jws claims
This commit is contained in:
parent
ab6ed256e5
commit
0c0ed2fe04
@ -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…
x
Reference in New Issue
Block a user